deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
|
Public Member Functions | |
MPISharedMemDeleterAction (const bool is_shmem_root, T *aligned_shmem_pointer, MPI_Comm shmem_group_communicator, MPI_Win shmem_window) | |
virtual void | delete_array (const AlignedVector< T > *aligned_vector, T *ptr) |
Private Attributes | |
const bool | is_shmem_root |
T * | aligned_shmem_pointer |
MPI_Comm | shmem_group_communicator |
MPI_Win | shmem_window |
A class that implements the deleter action for MPI shared-memory allocated data.
Definition at line 685 of file aligned_vector.h.
AlignedVector< T >::Deleter::MPISharedMemDeleterAction::MPISharedMemDeleterAction | ( | const bool | is_shmem_root, |
T * | aligned_shmem_pointer, | ||
MPI_Comm | shmem_group_communicator, | ||
MPI_Win | shmem_window | ||
) |
Constructor. Store the various pieces of information necessary to identify the MPI window in which the data resides.
|
virtual |
The function that implements the action of de-allocating memory. It receives as arguments a pointer to the owning AlignedVector object as well as a pointer to the memory being de-allocated.
Implements AlignedVector< T >::Deleter::DeleterActionBase.
|
private |
Variables necessary to identify the MPI shared-memory window plus all ancillary information to destroy this window.
Definition at line 710 of file aligned_vector.h.
|
private |
Definition at line 711 of file aligned_vector.h.
|
private |
Definition at line 712 of file aligned_vector.h.
|
private |
Definition at line 713 of file aligned_vector.h.