Synchronizes all devices 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
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Parameters
[object Object]- [object Object]Atlas A3 training products/Atlas A3 inference products[object Object]: The FLOAT8_E5M2, FLOAT8_E4M3FN, FLOAT4_E1M2, FLOAT4_E2M1, HIFLOAT8 and INT4 types are not supported.
Returns
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-device synchronization can mask performance fluctuations caused by fast and slow devices, 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], Ascend 950PR/Ascend 950DT:
[object Object]