OpenM++ runtime library (libopenm)
openm::MpiSendPacked Class Reference

non-blocking MPI send of packed data More...

#include <msgMpiSend.h>

Inheritance diagram for openm::MpiSendPacked:
Collaboration diagram for openm::MpiSendPacked:

Public Member Functions

 MpiSendPacked (int i_selfRank, int i_sendTo, const IRowBaseVec &i_rowVec, const IPackedAdapter &i_adapter)
 create non-blocking MPI sender pack the data and call MPI_Isend. More...
 
 ~MpiSendPacked (void) noexcept
 cleanup message sender resources.
 
bool isCompleted (void)
 check is send completed by MPI_Test. More...
 
- Public Member Functions inherited from openm::MpiSendBase
 MpiSendBase (int i_selfRank, int i_sendTo, MsgTag i_msgTag)
 create non-blocking MPI sender. More...
 
virtual ~MpiSendBase (void) noexcept
 cleanup message sender resources by MPI_Request_free.
 
bool isCompleted (void)
 check is send completed by MPI_Test.
 
- Public Member Functions inherited from openm::IMsgSendPacked
virtual ~IMsgSendPacked (void) noexcept=0
 cleanup message sender resources.
 
- Public Member Functions inherited from openm::IMsgSend
virtual ~IMsgSend (void) noexcept=0
 cleanup message sender resources.
 
virtual bool isCompleted (void)=0
 check is send completed. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from openm::IMsgSendPacked
static IMsgSendPackedcreate (int i_selfRank, int i_sendTo, const IRowBaseVec &i_rowVec, const IPackedAdapter &i_adapter)
 create new sender for packed data. More...
 
- Protected Member Functions inherited from openm::MpiSendBase
void cleanup (void) noexcept
 
- Protected Attributes inherited from openm::MpiSendBase
int msgTag
 
int selfRank
 
int sendToRank
 
MPI_Request mpiRq
 

Detailed Description

non-blocking MPI send of packed data

Constructor & Destructor Documentation

◆ MpiSendPacked()

MpiSendPacked::MpiSendPacked ( int  i_selfRank,
int  i_sendTo,
const IRowBaseVec i_rowVec,
const IPackedAdapter i_adapter 
)

create non-blocking MPI sender pack the data and call MPI_Isend.

Parameters
[in]i_selfRanksender proccess rank (current process rank)
[in]i_sendToreceiver proccess rank
[in]i_rowVecvector of db rows to send
[in]i_adapteradapter to pack db rows

Member Function Documentation

◆ isCompleted()

bool openm::MpiSendPacked::isCompleted ( void  )
inlinevirtual

check is send completed by MPI_Test.

Implements openm::IMsgSend.


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