CreateHcclComm
Description
Creates a single-server multi-device communicator in rootInfo mode when the backend is HCCL.
Definition
1 2 3 4 5 6 | namespace atb { using void *HcclComm; namespace Comm { HcclComm CreateHcclComm(int32_t rank, int32_t rankRoot, int32_t rankSize, char *commName); }; // namespace Comm } // namespace atb |
Parameters
Member |
Input/Output |
Type |
Default Value |
Description |
|---|---|---|---|---|
rank |
Input |
int32_t |
- |
Communication ID of the current card. |
rankRoot |
Input |
int32_t |
- |
Primary communication ID. |
rankSize |
Input |
int32_t |
- |
Number of communication cards. |
commName |
Output |
char * |
- |
Communicator name. |
Restrictions
rank, rankSize, and rankRoot must meet the following conditions:
- 0 ≤ rank < rankSize
- 0 ≤ rankRoot < rankSize
Supported only by
Parent topic: atb/comm.h