HcclGetConfig

Description

Obtains the configuration related to collective communication.

Prototype

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 configurable parameter in config.

HcclConfigValue type. For the HCCL_DETERMINISTIC parameter, the value 0 indicates that deterministic computing is not supported, and the value 1 indicates that deterministic computing is supported.

Returns

HcclResult: HCCL_SUCCESS on success; else, failure.

Constraints

None

Applicability

Atlas Training Series Product