For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
block_swizzle
def block_swizzle(block_idx: IndexList[2, element_type=block_idx.element_type], grid_dim: IndexList[2, element_type=block_idx.element_type]) -> IndexList[2, element_type=block_idx.element_type]
Returns: