IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Mojo function

bc_frag_coord

def bc_frag_coord(lane: Int, i: Int) -> IndexList[Int(2)]

(row, col) in the 16x32 B/C tile for this lane's element i (0..15).

Args:

  • lane (Int): Simdgroup lane index in [0, 32); determines the lane's base (row, col) in the 16x32 B/C tile.
  • i (Int): B/C-fragment element index in [0, 16); selects which of this lane's 16 held B/C elements to map to (row, col).

Returns:

IndexList[Int(2)]

Was this page helpful?