OpenM++ runtime library (libopenm)
|
non-blocking MPI send of value array More...
#include <msgMpiSend.h>
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 IMsgSendArray * | create (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 |
non-blocking MPI send of value array
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.
[in] | i_selfRank | sender proccess rank (current process rank) |
[in] | i_sendTo | receiver proccess rank |
[in] | i_msgTag | tag to identify message content (parameter or output data) |
[in] | i_type | value type |
[in] | i_size | size of array |
[in] | i_valueArr | value array to send |
|
inlinevirtual |
check is send completed by MPI_Test.
Implements openm::IMsgSend.