For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
WarpGroupBarrier
struct WarpGroupBarrier[num_threads: Int, barrier_id: Int = 0]
Named barrier for warp group synchronization.
Wraps named_barrier and named_barrier_arrive with compile-time
thread count and barrier ID for type-safe synchronization.
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
Methodsβ
arriveβ
static arrive()
Signal arrival without blocking (non-blocking arrive).
waitβ
static wait()
Block until all threads have arrived.
syncβ
static sync()
Full barrier: arrive and wait for all threads.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!