18#if BOOST_LANG_CUDA && BOOST_COMP_CLANG_CUDA || BOOST_COMP_HIP
26 template<
typename Integral,
typename = std::enable_if_t<std::is_
integral_v<Integral>>>
29 return (
a +
b - 1) /
b;
33 template<
typename Integral,
typename = std::enable_if_t<std::is_
integral_v<Integral>>>
45 template<
typename Integral,
typename = std::enable_if_t<std::is_
integral_v<Integral>>>
#define ALPAKA_FN_HOST_ACC
ALPAKA_FN_HOST_ACC constexpr auto nthRootFloor(Integral value, Integral n) -> Integral
Computes the floor of the nth root of value, in integers.
ALPAKA_FN_HOST_ACC constexpr auto divCeil(Integral a, Integral b) -> Integral
Returns the ceiling of a / b, as integer.
auto clipCast(V const &val) -> T
ALPAKA_FN_HOST_ACC constexpr auto intPow(Integral base, Integral n) -> Integral
Computes the nth power of base, in integers.