MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ SegmentedReductionContext() [1/2]

MayaFlux::Yantra::SegmentedReductionContext::SegmentedReductionContext ( Portal::Graphics::KernelOp combine,
Portal::Graphics::ReductionMap map = Portal::Graphics::ReductionMap::Identity,
uint32_t workgroup = 256 )
inline
Parameters
combineSum, Max or Min.
mapPointwise map applied before the combine.
workgroupInvocations per segment. A power of two, at least 2.

Definition at line 33 of file SegmentedReductionContext.hpp.

37 : SegmentedReductionContext(reduction_spec(combine, map, workgroup))
38 {
39 }
SegmentedReductionContext(Portal::Graphics::KernelOp combine, Portal::Graphics::ReductionMap map=Portal::Graphics::ReductionMap::Identity, uint32_t workgroup=256)
static Portal::Graphics::ShaderSpec reduction_spec(Portal::Graphics::KernelOp combine, Portal::Graphics::ReductionMap map, uint32_t workgroup)
The spec of the template instance this context drives.

References MayaFlux::Portal::Graphics::Identity, reduction_spec(), and SegmentedReductionContext().

Referenced by SegmentedReductionContext().

Here is the call graph for this function:
Here is the caller graph for this function: