Mojo struct
FragmentCoords
struct FragmentCoords[stageN: Int, repeats: Int]
Fragment element coordinates for tcgen05 16x256b matrix layout.
Fields
- top_upper (
StaticTuple[UInt32, 2]): - bottom_upper (
StaticTuple[UInt32, 2]): - top_lower (
StaticTuple[UInt32, 2]): - bottom_lower (
StaticTuple[UInt32, 2]):
Implemented traits
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime members
load_width
comptime load_width = 2
threads_per_row
comptime threads_per_row = ((stageN // repeats) // 2)
Methods
__init__
__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!