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
get_warp_coords
def get_warp_coords[BN: Int, WN: Int]() -> Tuple[Int, Int]
Return (warp_row, warp_col) for the current warp given a BN×WN grid.
Python-style: var row, col = get_warp_coords[BN, WN]().
Parameters:
- BN (
Int): Block extent along the N dimension of the tile grid. - WN (
Int): Warp extent along the N dimension of the tile grid.
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!