DASH
0.3.0
|
Global memory with address space of static size. More...
#include <GlobStaticMem.h>
Public Types | |
using | memory_space_domain_category = typename base_t::memory_space_domain_category |
using | memory_space_type_category = typename base_t::memory_space_type_category |
using | size_type = dash::default_size_t |
using | index_type = dash::default_index_t |
using | difference_type = index_type |
using | memory_space_allocation_policy = allocation_static |
using | memory_space_synchronization_policy = synchronization_collective |
using | memory_space_layout_tag = memory_space_contiguous |
using | allocator_type = std::pmr::polymorphic_allocator< std::byte > |
using | void_pointer = dash::GlobPtr< void, GlobStaticMem > |
using | const_void_pointer = dash::GlobPtr< const void, GlobStaticMem > |
using | local_void_pointer = void * |
using | const_local_void_pointer = const void * |
Public Member Functions | |
constexpr | GlobStaticMem (dash::Team const &team) |
GlobStaticMem (LMemSpace *r, dash::Team const &team) | |
GlobStaticMem (const GlobStaticMem &)=delete | |
GlobStaticMem & | operator= (const GlobStaticMem &)=delete |
constexpr | GlobStaticMem (GlobStaticMem &&other) noexcept |
GlobStaticMem & | operator= (GlobStaticMem &&) noexcept=default |
constexpr size_type | capacity () const noexcept |
constexpr size_type | capacity (dash::team_unit_t uid) const noexcept |
constexpr void_pointer | begin () noexcept |
constexpr const_void_pointer | begin () const noexcept |
constexpr void_pointer | end () noexcept |
constexpr const_void_pointer | end () const noexcept |
void_pointer | allocate (size_type nbytes, size_type alignment=max_align) |
void | deallocate (void_pointer gptr, size_type nbytes, size_type alignment=max_align) |
constexpr dash::Team const & | team () const noexcept |
constexpr void | barrier () const |
allocator_type | get_allocator () const |
constexpr void | flush (void_pointer ptr, dash::team_unit_t unit=dash::team_unit_t{}) const |
Complete all outstanding non-blocking operations to either all units or a specified unit. More... | |
DASH_CONSTEXPR void | flush_local (void_pointer ptr, dash::team_unit_t unit=dash::team_unit_t{}) const |
Locally complete all outstanding non-blocking operations to all units. More... | |
Global memory with address space of static size.
For global memory spaces with support for resizing, see dash::GlobHeapMem
.
Definition at line 88 of file GlobStaticMem.h.
|
inline |
Complete all outstanding non-blocking operations to either all units or a specified unit.
Definition at line 213 of file GlobStaticMem.h.
|
inline |
Locally complete all outstanding non-blocking operations to all units.
Definition at line 231 of file GlobStaticMem.h.