Skip to content

RequestMethod

RequestMethod represents the allowed request methods of RequestToSyncs (that are sent out from barrier tasks using BarrierTaskContext).

ContextBarrierState tracks RequestMethods (from tasks inside a barrier sync) to make sure that the tasks are all part of a legitimate barrier sync. All tasks should make sure that they're calling the same method within the same barrier sync phase.

BARRIER

Marks execution of BarrierTaskContext.barrier

ALL_GATHER

Marks execution of BarrierTaskContext.allGather