10 #include <type_traits>
22 template<
typename T, std::
size_t TuniqueId,
typename TBlockSharedMemSt,
typename TSfinae =
void>
25 template<
typename TBlockSharedMemSt,
typename TSfinae =
void>
41 template<
typename T, std::
size_t TuniqueId,
typename TBlockSharedMemSt>
53 template<
typename TBlockSharedMemSt>
#define ALPAKA_FN_ACC
All functions that can be used on an accelerator have to be attributed with ALPAKA_FN_ACC or ALPAKA_F...
#define ALPAKA_NO_HOST_ACC_WARNING
Disable nvcc warning: 'calling a host function from host device function.' Usage: ALPAKA_NO_HOST_ACC_...
typename detail::ImplementationBaseType< TInterface, TDerived >::type ImplementationBase
Returns the type that implements the given interface in the inheritance hierarchy.
The alpaka accelerator library.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto freeSharedVars(TBlockSharedMemSt &blockSharedMemSt) -> void
Frees all memory used by block shared variables.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto declareSharedVar(TBlockSharedMemSt const &blockSharedMemSt) -> T &
Declare a block shared variable.
The block shared static memory variable allocation operation trait.
The block shared static memory free operation trait.