Product |
Supported |
|---|---|
√ |
|
√ |
|
☓ |
|
√ |
|
√ |
For
For the
Obtains the configuration related to collective communication.
1 | HcclResult HcclGetConfig(HcclConfig config, HcclConfigValue *configValue) |
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 configurable parameter in config. For details, see the HcclConfigValue type. |
HcclResult: HCCL_SUCCESS on success; else, failure.
None
1 2 3 4 | // Query the deterministic compute switch. HcclConfig config = HCCL_DETERMINISTIC; union HcclConfigValue configValue; HcclGetConfig(HCCL_DETERMINISTIC, &configValue); |