Skip to content

num::omp::block_size_for

Defined in header <omp/parallel_ops.hpp>

constexpr idx block_size_for(idx n) noexcept;

Element count per block for a problem of size n.

At least parallel_block, and large enough that no more than max_parallel_blocks blocks are produced.