Dynamic block shared memory provider using fixed-size member array to allocate memory on the stack or in shared memory.
More...
#include <BlockSharedMemDynMember.hpp>
template<std::size_t TStaticAllocKiB = BlockSharedDynMemberAllocKiB>
class alpaka::BlockSharedMemDynMember< TStaticAllocKiB >
Dynamic block shared memory provider using fixed-size member array to allocate memory on the stack or in shared memory.
Definition at line 39 of file BlockSharedMemDynMember.hpp.
◆ BlockSharedMemDynMember()
template<std::size_t TStaticAllocKiB = BlockSharedDynMemberAllocKiB>
◆ dynMemBegin()
template<std::size_t TStaticAllocKiB = BlockSharedDynMemberAllocKiB>
◆ staticAllocBytes()
template<std::size_t TStaticAllocKiB = BlockSharedDynMemberAllocKiB>
- Returns
- size of statically allocated memory available for both dynamic and static shared memory. Value is of a 32-bit type for register efficiency on GPUs
Definition at line 71 of file BlockSharedMemDynMember.hpp.
◆ staticMemBegin()
template<std::size_t TStaticAllocKiB = BlockSharedDynMemberAllocKiB>
- Returns
- the pointer to the begin of data after the portion allocated as dynamical shared memory.
Definition at line 55 of file BlockSharedMemDynMember.hpp.
◆ staticMemCapacity()
template<std::size_t TStaticAllocKiB = BlockSharedDynMemberAllocKiB>
- Returns
- the remaining capacity for static block shared memory, returns a 32-bit type for register efficiency on GPUs
Definition at line 63 of file BlockSharedMemDynMember.hpp.
The documentation for this class was generated from the following file: