Synchronizes all ranks in a communication domain. xRef is used only to build tensor dependencies. No operation is performed on xRef in the API.
Each operator has calls. First, [object Object] is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, [object Object] is called to perform computation.
Parameters
[object Object]Returns
aclnnStatus: status code. For details, see .
The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Deterministic computing:
[object Object]defaults to a deterministic implementation.
Constraints on the use of the communication domain:
[object Object]in a model requires an independent communication domain, and no other operators are allowed in the communication domain.
Application scenarios:
- Calling this operator in a network model that requires all-rank synchronization can mask performance fluctuations caused by fast and slow ranks, assisting in performance analysis.
- This operator can be called continuously. When building a graph, the input of the previous operator and the output of the next operator should be passed as input parameters to the API.
The following example is for reference only. For details, see .
[object Object]Atlas A3 training products/Atlas A3 inference products[object Object]:
[object Object]