alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::BlockSharedMemStMember< TDataAlignBytes > Class Template Reference

Static block shared memory provider using a pointer to externally allocated fixed-size memory, likely provided by BlockSharedMemDynMember. More...

#include <BlockSharedMemStMember.hpp>

+ Inheritance diagram for alpaka::BlockSharedMemStMember< TDataAlignBytes >:

Additional Inherited Members

- Public Member Functions inherited from alpaka::detail::BlockSharedMemStMemberImpl< core::vectorization::defaultAlignment >
 BlockSharedMemStMemberImpl (std::uint8_t *mem, std::size_t capacity)
 
void alloc (std::uint32_t id) const
 
auto getLatestVarPtr () const -> T *
 Get last allocated variable. More...
 
auto getVarPtr (std::uint32_t id) const -> T *
 Give the pointer to an exiting variable. More...
 

Detailed Description

template<std::size_t TDataAlignBytes = core::vectorization::defaultAlignment>
class alpaka::BlockSharedMemStMember< TDataAlignBytes >

Static block shared memory provider using a pointer to externally allocated fixed-size memory, likely provided by BlockSharedMemDynMember.

Warning
This class is not thread safe!

Definition at line 23 of file BlockSharedMemStMember.hpp.


The documentation for this class was generated from the following file: