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
FragmentCoords
struct FragmentCoords[stageN: Int, repeats: Int]
Fragment element coordinates for tcgen05 16x256b matrix layout.
Fieldsβ
- βtop_upper (
StaticTuple[UInt32, Int(2)]): - βbottom_upper (
StaticTuple[UInt32, Int(2)]): - βtop_lower (
StaticTuple[UInt32, Int(2)]): - βbottom_lower (
StaticTuple[UInt32, Int(2)]):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
load_widthβ
comptime load_width = 2
threads_per_rowβ
comptime threads_per_row = ((stageN // repeats) // Int(2))
Methodsβ
__init__β
def __init__(lane_id: UInt32) -> Self
Compute (row, col) for each fragment position from lane ID.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!