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
grouped_block_scaled_smem
Shared memory layout for grouped block-scaled SM100 matmul.
Extends BlockScaledTileCore with tensormap descriptor storage for dynamic updates. Used by GroupedBlockScaledMatmulKernel for grouped GEMM with variable problem sizes.
Additional SMEM allocations:
- 5 TMA descriptors (A, B, SFA, SFB, C) at 128 bytes each = 640 bytes total
- Aligned to 128 bytes for TMA descriptor requirements
Tile storage is shared via BlockScaledTileCore from block_scaled_smem.mojo.
comptime valuesβ
NUM_GROUPED_TENSORMAPSβ
comptime NUM_GROUPED_TENSORMAPS = 5
TMA_DESCRIPTOR_BYTESβ
comptime TMA_DESCRIPTOR_BYTES = 128
Structsβ
- β
GroupedBlockScaledSmem: SMEM struct for grouped block-scaled GEMM.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!