11 #include <type_traits>
13 #if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) || defined(ALPAKA_ACC_GPU_HIP_ENABLED)
23 # if !defined(ALPAKA_HOST_ONLY)
25 # if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) && !BOOST_LANG_CUDA
26 # error If ALPAKA_ACC_GPU_CUDA_ENABLED is set, the compiler has to support CUDA!
29 # if defined(ALPAKA_ACC_GPU_HIP_ENABLED) && !BOOST_LANG_HIP
30 # error If ALPAKA_ACC_GPU_HIP_ENABLED is set, the compiler has to support HIP!
44 extern __shared__ float4 shMem[];
45 return reinterpret_cast<T*
>(shMem);
The alpaka accelerator library.
Tag used in class inheritance hierarchies that describes that a specific concept (TConcept) is implem...
The block shared dynamic memory get trait.