alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Namespaces | |
align | |
The alignment specifics. | |
detail | |
Defines implementation details that should not be used directly by the user. | |
threads | |
vectorization | |
Suggests vectorization of the directly following loop to the compiler. | |
Classes | |
class | CallbackThread |
struct | RoundUpToPowerOfTwo |
Rounds to the next higher power of two (if not already power of two). More... | |
Functions | |
ALPAKA_FN_INLINE ALPAKA_FN_HOST auto | alignedAlloc (size_t alignment, size_t size) -> void * |
ALPAKA_FN_INLINE ALPAKA_FN_HOST void | alignedFree (size_t alignment, void *ptr) |
template<typename TLhs , typename TRhs > | |
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto | assertGreaterThan (TRhs const &rhs) -> void |
This function asserts that the integral value TLhs is greater than TRhs. More... | |
template<typename TArg > | |
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto | assertValueUnsigned (TArg const &arg) -> void |
This method checks integral values if they are greater or equal zero. The implementation prevents warnings for checking this for unsigned types. More... | |
template<typename T , typename V > | |
auto | clipCast (V const &val) -> T |
template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
constexpr ALPAKA_FN_HOST_ACC auto | divCeil (Integral a, Integral b) -> Integral |
Returns the ceiling of a / b, as integer. More... | |
template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
constexpr ALPAKA_FN_HOST_ACC auto | intPow (Integral base, Integral n) -> Integral |
Computes the nth power of base, in integers. More... | |
template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
constexpr ALPAKA_FN_HOST_ACC auto | nthRootFloor (Integral value, Integral n) -> Integral |
Computes the floor of the nth root of value, in integers. More... | |
Variables | |
template<typename T > | |
const std::string | demangled = boost::core::demangle(typeid(T).name()) |
ALPAKA_FN_INLINE ALPAKA_FN_HOST auto alpaka::core::alignedAlloc | ( | size_t | alignment, |
size_t | size | ||
) | -> void* |
Definition at line 14 of file AlignedAlloc.hpp.
ALPAKA_FN_INLINE ALPAKA_FN_HOST void alpaka::core::alignedFree | ( | size_t | alignment, |
void * | ptr | ||
) |
Definition at line 19 of file AlignedAlloc.hpp.
|
constexpr |
This function asserts that the integral value TLhs is greater than TRhs.
Definition at line 101 of file Assert.hpp.
|
constexpr |
This method checks integral values if they are greater or equal zero. The implementation prevents warnings for checking this for unsigned types.
Definition at line 77 of file Assert.hpp.
auto alpaka::core::clipCast | ( | V const & | val | ) | -> T |
Definition at line 16 of file ClipCast.hpp.
|
constexpr |
Returns the ceiling of a / b, as integer.
Definition at line 27 of file Utility.hpp.
|
constexpr |
Computes the nth power of base, in integers.
Definition at line 34 of file Utility.hpp.
|
constexpr |
Computes the floor of the nth root of value, in integers.
Definition at line 46 of file Utility.hpp.
|
inline |
Definition at line 19 of file DemangleTypeNames.hpp.