11 #ifdef ALPAKA_ACC_SYCL_ENABLED
12 # include <sycl/sycl.hpp>
17 class BlockSharedMemDynGenericSycl
18 :
public interface::Implements<ConceptBlockSharedDyn, BlockSharedMemDynGenericSycl>
21 using BlockSharedMemDynBase = BlockSharedMemDynGenericSycl;
23 BlockSharedMemDynGenericSycl(sycl::local_accessor<std::byte> accessor) : m_accessor{accessor}
27 sycl::local_accessor<std::byte> m_accessor;
34 struct GetDynSharedMem<T, BlockSharedMemDynGenericSycl>
36 static auto getMem(BlockSharedMemDynGenericSycl
const& shared) -> T*
38 return reinterpret_cast<T*
>(shared.m_accessor.get_multi_ptr<sycl::access::decorated::no>().get());
The alpaka accelerator library.