Skip to main content

is_global_consumer

Function is_global_consumer 

Source
fn is_global_consumer(node: &NativeNode) -> bool
Expand description

Whole-vector consumers remain global, but can be cut out as evaluated segments so a pointwise parent does not inherit their single-partition placement.

A per-point φ does not make the fold it reads any less of a whole-vector consumer: a quantile answers from every series of its group whichever node its argument comes from, so the parameterized variant is admitted here exactly as the bound one is. Leaving it out would read a fold that requires one partition as a node that does not, and the cut below it would be chosen as though its parent could run per partition.