alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include <BlockSharedMemStMemberMasterSync.hpp>
Public Member Functions | |
BlockSharedMemStMemberMasterSync (uint8_t *mem, std::size_t capacity, std::function< void()> fnSync, std::function< bool()> fnIsMasterThread) | |
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... | |
Public Attributes | |
std::function< bool()> | m_isMasterThreadFn |
std::function< void()> | m_syncFn |
Definition at line 21 of file BlockSharedMemStMemberMasterSync.hpp.
|
inline |
Definition at line 26 of file BlockSharedMemStMemberMasterSync.hpp.
std::function<bool()> alpaka::BlockSharedMemStMemberMasterSync< TDataAlignBytes >::m_isMasterThreadFn |
Definition at line 38 of file BlockSharedMemStMemberMasterSync.hpp.
std::function<void()> alpaka::BlockSharedMemStMemberMasterSync< TDataAlignBytes >::m_syncFn |
Definition at line 37 of file BlockSharedMemStMemberMasterSync.hpp.