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
WarpStaggerRule
struct WarpStaggerRule
Declarative warp stagger configuration.
Controls how warp groups are staggered in the prologue to hide latency. The stagger index determines how many prologue ops G0 executes before G1 starts.
Modes:
- enabled=False: no stagger (single-buffer default)
- enabled=True, compute_from_body=True: derive stagger by counting stage-0 prefetch loads in the body (double-buffer default)
- enabled=True, compute_from_body=False: use fixed_amount directly
Fieldsβ
- βenabled (
Bool): - βcompute_from_body (
Bool): - βfixed_amount (
Int):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable
Methodsβ
noneβ
static none() -> Self
No stagger (single-buffer default).
autoβ
static auto() -> Self
Auto-derive stagger from body (double-buffer default).
fixedβ
static fixed(amount: Int) -> Self
Fixed stagger amount.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!