For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /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))