vt::messaging::SendInfo struct

Returned from a data send to be used to receive the data.

Constructors, destructors, conversion operators

SendInfo(EventType in_event, TagType in_tag, int in_nchunks)
Construct a SendInfo.

Public functions

auto getEvent() const -> EventType
Get the send event (either an MPI event or a parent event containing multiple MPI events)
auto getTag() const -> TagType
The MPI tag that it was sent with.
auto getNumChunks() const -> int
The number of Isend chunks that make up the entire payload.

Function documentation

vt::messaging::SendInfo::SendInfo(EventType in_event, TagType in_tag, int in_nchunks)

Construct a SendInfo.

Parameters
in_event in the send event (parent event if multiple sends)
in_tag in the MPI tag it was sent with
in_nchunks in the number of send chunks for the entire payload

EventType vt::messaging::SendInfo::getEvent() const

Get the send event (either an MPI event or a parent event containing multiple MPI events)

Returns the send event

TagType vt::messaging::SendInfo::getTag() const

The MPI tag that it was sent with.

Returns the tag

int vt::messaging::SendInfo::getNumChunks() const

The number of Isend chunks that make up the entire payload.

Returns the number of chunks