triton.experimental.gluon.language.amd.cdna5.mbarrier.wait
- triton.experimental.gluon.language.amd.cdna5.mbarrier.wait(mbarrier, phase, _semantic=None)
Wait until the mbarrier’s phase differs from the provided phase value.
This means that the given
phasehas completed.- Parameters:
mbarrier (shared_memory_descriptor) – The barrier object to wait on.
phase (int) – The phase value to compare against. The wait completes when the barrier’s phase becomes different from this value.