Skip to main content

Module parallel_strategy

Module parallel_strategy 

Source
Expand description

Workload-aware parallel scheduling for row reductions.

This module deliberately does not size or replace Rayon’s global pool. The pool is process infrastructure; each numerical kernel still owns the decision of how much parallelism is useful for its arithmetic shape.

Functions§

row_reduction_chunk_count
Number of chunks that row_reduction_chunk_rows will create for n_rows.
row_reduction_chunk_rows
Return a row chunk size for a parallel row reduction, or None when the caller should stay serial.