Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
AlignedVector< T >::Deleter::MPISharedMemDeleterAction Class Reference
Inheritance diagram for AlignedVector< T >::Deleter::MPISharedMemDeleterAction:

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
 

Detailed Description

template<class T>
class AlignedVector< T >::Deleter::MPISharedMemDeleterAction

A class that implements the deleter action for MPI shared-memory allocated data.

Definition at line 652 of file aligned_vector.h.

Constructor & Destructor Documentation

◆ MPISharedMemDeleterAction()

template<class T >
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.

Member Function Documentation

◆ delete_array()

template<class T >
virtual void AlignedVector< T >::Deleter::MPISharedMemDeleterAction::delete_array ( const AlignedVector< T > * aligned_vector,
T * ptr )
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.

Member Data Documentation

◆ is_shmem_root

template<class T >
const bool AlignedVector< T >::Deleter::MPISharedMemDeleterAction::is_shmem_root
private

Variables necessary to identify the MPI shared-memory window plus all ancillary information to destroy this window.

Definition at line 677 of file aligned_vector.h.

◆ aligned_shmem_pointer

template<class T >
T* AlignedVector< T >::Deleter::MPISharedMemDeleterAction::aligned_shmem_pointer
private

Definition at line 678 of file aligned_vector.h.

◆ shmem_group_communicator

template<class T >
MPI_Comm AlignedVector< T >::Deleter::MPISharedMemDeleterAction::shmem_group_communicator
private

Definition at line 679 of file aligned_vector.h.

◆ shmem_window

template<class T >
MPI_Win AlignedVector< T >::Deleter::MPISharedMemDeleterAction::shmem_window
private

Definition at line 680 of file aligned_vector.h.


The documentation for this class was generated from the following file: