HcclCommResume

This API is reserved and may be changed in later versions. It is not supported for developers.

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

For Atlas A2 training product / Atlas A2 inference product , only the Atlas 800T A2 training server, Atlas 900 A2 PoD cluster basic unit, and Atlas 200T A2 Box16 heterogeneous subrack are supported.

Function

Resumes the status of a communicator.

If you call the HcclCommSuspend or aclrtDeviceTaskAbort API to suspend a communicator, you need to call this API to resume the communicator to the normal state after the fault is rectified.

Prototype

1
HcclResult HcclCommResume(HcclComm comm)

Parameters

Parameter

Input/Output

Description

comm

Input

Communicator to be resumed to the normal state.

For details about the definition of the HcclComm type, see HcclComm.

Returns

HcclResult: HCCL_SUCCESS on success, or else failure.

Constraints

  • Before calling this API, call the aclrtDeviceTaskAbort API provided by acl to stop task execution on the device.
  • Before calling this API to resume the communicator status, you need to perform cluster synchronization.