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 module
utils_gpu
Provides GPU matmul configuration selection, block-swizzling, and Hilbert-curve tile-ordering utilities.
Structsβ
- β
MatmulConfig: Static configuration of GPU matmul. - β
MatmulKernels: Supported matmul kernels.
Functionsβ
- β
block_swizzle: Remaps a linear block index into a swizzled two-dimensional block coordinate. - β
create_hilbert_lut: Precompute Hilbert-curve block swizzle lookup-table for a rectangular grid. - β
get_hilbert_lut_with_cache: Get Hilbert lookup table using global cache (no struct needed). - β
select_config: Selects a heuristic-optimalMatmulConfigfor the given problem shape and device.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!