HcclCommConfigCapability

Function

Defines the configuration supported during communicator initialization.

Prototype

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
typedef enum {
    HCCL_COMM_CONFIG_BUFFER_SIZE= 0,       /* Size of the shared data buffer */
    HCCL_COMM_CONFIG_DETERMINISTIC = 1,    /* Deterministic computing switch */
    HCCL_COMM_CONFIG_COMM_NAME = 2,        /* Communicator name */
    HCCL_COMM_CONFIG_OP_EXPANSION = 3, /* Expansion mode of the communication operator */
    HCCL_COMM_CONFIG_SUPPORT_INIT_BY_ENV = 4,  /* Whether the initial value can be configured using an environment variable */
    HCCL_COMM_CONFIG_WORLD_RANKID = 5, /* Global rank ID of the current process in the AI framework in the NSLB-DP scenario. This scenario is not involved in Atlas 350 Accelerator Card. */
    HCCL_COMM_CONFIG_JOBID = 6, /* Unique ID of the distributed service in the NSLB-DP scenario, which is generated by the AI framework. This scenario is not involved in Atlas 350 Accelerator Card. */
    HCCL_COMM_CONFIG_ACLGRAPH_ZEROCOPY_ENABLE = 7,  /* Whether to enable the zero-copy function in the graph capture mode (ACLGraph), which is valid only for Reduce operators */
    HCCL_COMM_CONFIG_EXEC_TIMEOUT = 8,  /* Communication execution timeout interval */
    HCCL_COMM_CONFIG_ALGO = 9,  /* Communication algorithm configuration */
     HCCL_COMM_CONFIG_RETRY = 10, /* Communication retry configuration, not supported by the Atlas 350 Accelerator Card */
    HCCL_COMM_CONFIG_BUFFER_NAME = 11, /* Name of the shared CCLBuffer, not supported by the Atlas 350 Accelerator Card */
    HCCL_COMM_CONFIG_RESERVED              /* Reserved field */
} HcclCommConfigCapability;