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