Skip to main content

Mojo function

get_warp_coords

get_warp_coords[BN: Int, WN: Int]() -> IndexList[2]

Return (warp_row, warp_col) for the current warp given a BN×WN grid.

Returns:

IndexList[2]