alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::core Namespace Reference

Classes

class  CallbackThread
 A thread queue executing tasks asynchronously.

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, auto ptr)
template<typename TLhs, typename TRhs>
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC constexpr auto assertGreaterThan (TRhs const &rhs) -> void
 This function asserts that the integral value TLhs is greater than TRhs.
template<typename TArg>
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC constexpr 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.

Function Documentation

◆ alignedAlloc()

ALPAKA_FN_INLINE ALPAKA_FN_HOST auto alpaka::core::alignedAlloc ( size_t alignment,
size_t size ) -> void *

Definition at line 15 of file alignedAlloc.hpp.

◆ alignedFree()

ALPAKA_FN_INLINE ALPAKA_FN_HOST void alpaka::core::alignedFree ( size_t alignment,
auto ptr )

Definition at line 27 of file alignedAlloc.hpp.

◆ assertGreaterThan()

template<typename TLhs, typename TRhs>
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC constexpr auto alpaka::core::assertGreaterThan ( TRhs const & rhs) -> void
constexpr

This function asserts that the integral value TLhs is greater than TRhs.

Definition at line 102 of file Assert.hpp.

◆ assertValueUnsigned()

template<typename TArg>
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC constexpr auto alpaka::core::assertValueUnsigned ( TArg const & arg) -> void
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 78 of file Assert.hpp.