Skip to main content

ARROW_ROW_CHUNK

Constant ARROW_ROW_CHUNK 

Source
pub const ARROW_ROW_CHUNK: usize = 256;
Expand description

Deterministic row-block tiling constant for the parallel reduction paths.

All cross-row summations chunk the rows into ARROW_ROW_CHUNK-sized tiles and reduce the per-tile partials in tile-index order on the caller thread, so the floating-point reduction tree is fixed across Rayon worker counts and work-stealing decisions. Consumers that require deterministic associativity must keep their tiling a multiple of this constant.