HcclCommConfigCapability

Description

Defines the configuration supported during communicator initialization.

Prototype

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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,     /* Location for expanding the orchestration of the communication algorithm */
    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 */
    HCCL_COMM_CONFIG_JOBID = 6,  /* Unique ID of the current distributed service in the NSLB-DP scenario, which is generated by the AI framework */
    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 */
    HCCL_COMM_CONFIG_RESERVED              /* Reserved field */
} HcclCommConfigCapability;