IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

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, Deinitable, ImplicitlyCopyable, 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.