tvm_tirx.backend.cuda.lang.TCGen05Bar#
- class tvm_tirx.backend.cuda.lang.TCGen05Bar(*args, **kwargs)#
Bases:
MBarrierBarrier signaled by
tcgen05commit.The caller is responsible for ensuring only one thread issues the commit, e.g. by wrapping the call in
if T.cuda.elect_sync():or by passingpred=T.cuda.elect_sync(). Thepredform emits the predicated instruction (@p tcgen05.commit) instead of a branch and lets one elected leader predicate be shared across several commits.- arrive(stage, cta_group=1, cta_mask=None, pred=None)#