Skip to main content

Module partial

Module partial 

Source
Expand description

Reduction states that merge exactly across chunks.

Reduce each chunk to a PartialReduction, merge the partials in any order or tree shape, then finish. The result equals one reduction over all chunks (up to float rounding). This is the base for chunked and lazy execution.

Structs§

PartialReduction
The mergeable state of one reduction over one chunk.

Functions§

merge_all
Merge partials in a balanced tree, which keeps float error low.