Skip to content

num::omp::parallel_apply

Defined in header <omp/parallel_ops.hpp>

template <class Block>
void parallel_apply(idx n, Block block);

Apply block(offset, length) over a blocked decomposition of [0, n).

For elementwise work, where blocks are independent and no combination step is needed. Deterministic by construction.