triton.experimental.gluon.language.amd.cdna5.mbarrier
Shared-memory barriers (mbarriers) for CDNA5.
An mbarrier lives in shared memory allocated with MBarrierLayout and tracks a pending arrival count and a
phase. Set it up with init(), signal it with arrive() and block on phase completion with wait().
Asynchronous copies and TDM operations can also arrive on an mbarrier when they complete.
Functions
Initialize an mbarrier with a specified count. |
|
Wait until the mbarrier's phase differs from the provided phase value. |
|
Arrive at an mbarrier with a specified count. |
Classes
Layout for mbarrier synchronization. |