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

block_scaled_smem

Shared memory layout for block-scaled SM100 matmul.

Provides A/B/C tile storage plus scaling factor tile storage (SFA, SFB) following MXFP8 layout conventions. Also includes pipeline barriers and TMEM state.

The tile storage, derived constants, layouts, and accessors are factored into BlockScaledTileCore and shared with GroupedBlockScaledSmem and Grouped1D1DSmem. Each SMEM struct is a thin wrapper that adds the appropriate pipeline bundle.

Structs​

Functions​