alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Go to the source code of this file.
Namespaces | |
namespace | alpaka |
The alpaka accelerator library. | |
namespace | alpaka::core |
Functions | |
template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
ALPAKA_FN_HOST_ACC constexpr auto | alpaka::core::divCeil (Integral a, Integral b) -> Integral |
Returns the ceiling of a / b, as integer. | |
template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
ALPAKA_FN_HOST_ACC constexpr auto | alpaka::core::intPow (Integral base, Integral n) -> Integral |
Computes the nth power of base, in integers. | |
template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
ALPAKA_FN_HOST_ACC constexpr auto | alpaka::core::nthRootFloor (Integral value, Integral n) -> Integral |
Computes the floor of the nth root of value, in integers. | |