DASH
0.3.0
|
Public Member Functions | |
dart_gptr_t | allocate_segment (dart_team_t teamid, LocalMemorySpaceBase< memory_space_tag > *, std::size_t nbytes, std::size_t) |
Variant to allocate symmetrically in global memory space if we allocate in the default Host Space. More... | |
bool | deallocate_segment (dart_gptr_t gptr, LocalMemorySpaceBase< memory_space_tag > *, void *, size_t, size_t) |
Similar to the allocation case above global memory is deallocated symmetrically in DART. More... | |
Definition at line 147 of file AllocationPolicy.h.
|
inline |
Variant to allocate symmetrically in global memory space if we allocate in the default Host Space.
In this case DART can allocate symmatrically.
Definition at line 157 of file AllocationPolicy.h.
References DART_GPTR_ISNULL, DART_GPTR_NULL, DART_OK, and dart_team_memalloc_aligned().
|
inline |
Similar to the allocation case above global memory is deallocated symmetrically in DART.
Definition at line 189 of file AllocationPolicy.h.
References DART_GPTR_ISNULL, DART_OK, and dart_team_memfree().