Skip to main content

Mojo function

get_warp_coords

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]().

Returns:

Tuple

Was this page helpful?