HcclGetConfig
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
√ |
|
√ |
|
☓ |
|
√ |
|
√ |
For
For the
Function
Obtains the configuration related to collective communication.
Prototype
1 | HcclResult HcclGetConfig(HcclConfig config, HcclConfigValue *configValue) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
config |
Input |
Collective communication configuration. HcclConfig type. In the current version, this parameter can only be HCCL_DETERMINISTIC. |
configValue |
Output |
Value of the parameter configured in config. For details, see the HcclConfigValue type. |
Returns
HcclResult: HCCL_SUCCESS on success, or else failure.
Constraints
None.
Call Example
1 2 3 4 | // Query the deterministic compute switch. HcclConfig config = HCCL_DETERMINISTIC; union HcclConfigValue configValue; HcclGetConfig(HCCL_DETERMINISTIC, &configValue); |