IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

config

SM100 matmul configuration types and utilities.

This module provides configuration structs for SM100 (Blackwell) GPU matmul operations, including standard matmul and block-scaled matmul variants.

Two config types share 17 common fields (tile shapes, pipeline stages, swizzle modes, etc.) and the same __init__ helpers (_compute_block_tile_shape, _compute_output_tile_shape, _compute_swizzle_modes, _maximize_pipeline_stages). BlockScaledMatmulConfig extends this with 3 scaling-specific fields (scaling_kind, vec_sf_size, num_sf_k_tiles). Each has its own heuristic (choose_config / choose_block_scaled_config) because the valid MMA shape ranges and alignment requirements differ between standard and scaled kernels.

Structs​

Functions​