14#if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) || defined(ALPAKA_ACC_GPU_HIP_ENABLED)
24# if !defined(ALPAKA_HOST_ONLY)
26# if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) && !BOOST_LANG_CUDA
27# error If ALPAKA_ACC_GPU_CUDA_ENABLED is set, the compiler has to support CUDA!
30# if defined(ALPAKA_ACC_GPU_HIP_ENABLED) && !BOOST_LANG_HIP
31# error If ALPAKA_ACC_GPU_HIP_ENABLED is set, the compiler has to support HIP!
36 template<
typename T, std::
size_t TuniqueId>
41 __shared__ uint8_t shMem
alignas(
alignof(T))[
sizeof(T)];
42 return *(
reinterpret_cast<T*
>(shMem));
47 struct FreeSharedVars<BlockSharedMemStUniformCudaHipBuiltIn>
49 __device__
static auto freeVars(BlockSharedMemStUniformCudaHipBuiltIn
const&) ->
void
The alpaka accelerator library.
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...