deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\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
Public Member Functions | Private Attributes | List of all members
AlignedVector< T >::Deleter::MPISharedMemDeleterAction Class Reference
Inheritance diagram for AlignedVector< T >::Deleter::MPISharedMemDeleterAction:
Inheritance graph
[legend]

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 685 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 710 of file aligned_vector.h.

◆ aligned_shmem_pointer

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

Definition at line 711 of file aligned_vector.h.

◆ shmem_group_communicator

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

Definition at line 712 of file aligned_vector.h.

◆ shmem_window

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

Definition at line 713 of file aligned_vector.h.


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