HcclCommSuspend
This API is reserved and may be changed in later versions. It is not supported for developers.
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
For
Function
Suspends a communicator when an uncorrectable error (UCE) occurs in the on-chip memory (ACL_ERROR_RT_DEVICE_MTE_ERROR is returned by an ACL API).
When this API is used to suspend a communicator, you do not need to exit the process on the host. After the fault is rectified, you can call the HcclCommResume API to restore the communicator status.
Prototype
1 | HcclResult HcclCommSuspend(HcclComm comm) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
comm |
Input |
Communicator to be suspended. For details about the definition of the HcclComm type, see HcclComm. |
Returns
HcclResult: HCCL_SUCCESS on success, or else failure.
Constraints
- This API must be used together with HcclCommResume.
- This API cannot be executed concurrently with APIs related to Collective Communication or Point-to-Point Communication.