cub::DivideAndRoundUp

Defined in /home/runner/work/cccl/cccl/cub/cub/util_math.cuh

template<typename NumeratorT, typename DenominatorT>
constexpr NumeratorT cub::DivideAndRoundUp(NumeratorT n, DenominatorT d)

Divide n by d, round up if any remainder, and return the result.

Effectively performs (n + d - 1) / d, but is robust against the case where (n + d - 1) would overflow.