HcclSendRecvItem
Description
Defines the basic information about each communication task during batch point-to-point communication, including the task type, data address, number of data elements, data type, and peer-end rank ID.
Prototype
1 2 3 4 5 6 7 | typedef struct HcclSendRecvItemDef { HcclSendRecvType sendRecvType; /* Whether the current task type is sending or receiving data */ void *buf; /* Address of the buffer for sending or receiving data */ uint64_t count; /* Number of data elements to be sent or received */ HcclDataType dataType; /* Data type of the data to be sent or received */ uint32_t remoteRank; /* Rank ID of the data sending/receiving end in the communicator */ } HcclSendRecvItem; |
Parent topic: Data Types