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
WarpRole
struct WarpRole
Encodes the warp role assignments used by the warp-specialized kernel.
Each warp in the block is assigned one role (MainLoad, SfbLoad, SfbReady,
Mma, Scheduler, Epilogue) and the is_* helpers test the current warp's
role against get_warp_id().
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
Epilogueβ
comptime Epilogue = WarpRole(Int32(3))
MainLoadβ
comptime MainLoad = WarpRole(Int32(5))
Mmaβ
comptime Mma = WarpRole(Int32(6))
Schedulerβ
comptime Scheduler = WarpRole(Int32(4))
SfbLoadβ
comptime SfbLoad = WarpRole(Int32(7))
SfbReadyβ
comptime SfbReady = WarpRole(Int32(8))
Methodsβ
__le__β
__eq__β
__ne__β
__ge__β
is_sfb_readyβ
is_sfb_loadβ
is_main_loadβ
is_mmaβ
is_epilogueβ
is_schedulerβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!