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

◆ stage() [2/2]

void MayaFlux::Yantra::SegmentedReductionContext::stage ( std::span< const double > values,
const SegmentGeometry & geometry )
inline

Stage values and geometry for the next dispatch without running it.

Follow with dispatch_async and collect_result, then decode_primary, to run the reduction without blocking. reduce is stage followed by a synchronous execute.

Definition at line 66 of file SegmentedReductionContext.hpp.

67 {
68 stage_words(0, values);
69 stage(geometry);
70 }
void stage(std::span< const double > values, const SegmentGeometry &geometry)
Stage values and geometry for the next dispatch without running it.
void stage_words(uint32_t binding, std::span< const double > values, size_t padded_count=0, bool complement=false)
Encode values and stage them as the data of a binding.

References stage(), and MayaFlux::Yantra::WordPairExecutionContext::stage_words().

Referenced by reduce(), and stage().

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