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

non-blocking MPI send of value array More...

#include <msgMpiSend.h>

Inheritance diagram for openm::MpiSendArray:
Collaboration diagram for openm::MpiSendArray:

Public Member Functions

 MpiSendArray (int i_selfRank, int i_sendTo, MsgTag i_msgTag, const type_info &i_type, size_t i_size, void *i_valueArr)
 create non-blocking MPI sender for value array and call MPI_Isend. More...
 
 ~MpiSendArray (void) noexcept
 cleanup message sender resources.
 
bool isCompleted (void)
 check is send completed by MPI_Test. More...
 
- Public Member Functions inherited from openm::IMsgSendArray
virtual ~IMsgSendArray (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...
 
- 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.
 

Additional Inherited Members

- Static Public Member Functions inherited from openm::IMsgSendArray
static IMsgSendArraycreate (int i_selfRank, int i_sendTo, MsgTag i_msgTag, const type_info &i_type, size_t i_size, void *i_valueArr)
 create new value array sender. 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 value array

Constructor & Destructor Documentation

◆ MpiSendArray()

MpiSendArray::MpiSendArray ( int  i_selfRank,
int  i_sendTo,
MsgTag  i_msgTag,
const type_info &  i_type,
size_t  i_size,
void *  i_valueArr 
)

create non-blocking MPI sender for value array and call MPI_Isend.

Parameters
[in]i_selfRanksender proccess rank (current process rank)
[in]i_sendToreceiver proccess rank
[in]i_msgTagtag to identify message content (parameter or output data)
[in]i_typevalue type
[in]i_sizesize of array
[in]i_valueArrvalue array to send

Member Function Documentation

◆ isCompleted()

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

check is send completed by MPI_Test.

Implements openm::IMsgSend.


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