HcclBarrier
Description
Blocks the streams of all ranks in the specified communicator.
Prototype
HcclResult HcclBarrier(HcclComm comm, aclrtStream stream)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
comm |
Input |
Communicator where the operation is performed. |
stream |
Input |
Stream of the rank. |
Returns
HcclResult: HCCL_SUCCESS on success; else, failure.
Constraints
None
Applicability
Parent topic: Collective Communication