Skip to content

num::omp::block_size_for

Defined in header <omp/parallel_ops.hpp>

constexpr idx block_size_for(idx n) noexcept;

Return the block size for n elements: at least parallel_block, at most max_parallel_blocks blocks.