DASH
0.3.0
|
Public Member Functions | |
dart_gptr_t | allocate_segment (dart_team_t teamid, LocalMemorySpaceBase< memory_space_tag > *res, std::size_t nbytes, std::size_t alignment) |
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 > *res, void *lptr, size_t nbytes, size_t alignment) |
Similar to the allocation case above global memory is deallocated symmetrically in DART. More... | |
Private Member Functions | |
dart_gptr_t | do_global_attach (dart_team_t teamid, void *ptr, std::size_t nbytes) |
bool | do_global_detach (dart_gptr_t gptr) |
Definition at line 74 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 84 of file AllocationPolicy.h.
References DART_GPTR_ISNULL.
|
inline |
Similar to the allocation case above global memory is deallocated symmetrically in DART.
Definition at line 125 of file AllocationPolicy.h.