Reference documentation for deal.II version 9.5.0
|
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 628 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 653 of file aligned_vector.h.
|
private |
Definition at line 654 of file aligned_vector.h.
|
private |
Definition at line 655 of file aligned_vector.h.
|
private |
Definition at line 656 of file aligned_vector.h.