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 configuration for fused GEMM+SwiGLU.

Provides FusedSwiGLUMatmulConfig, a self-contained compile-time config for the SM100 fused GEMM+SwiGLU kernel.

Utilities:

  • swiglu_extra_fixed_smem: computes the fixed SMEM bytes consumed by the double-buffered half-output tiles on the SMEM→TMA path.
  • swiglu_matmul_config: convenience factory for FusedSwiGLUMatmulConfig with automatic pipeline-stage calculation.
  • build_sm100_matmul_configs: returns FusedSwiGLUMatmulConfigs for tuned (N, K) shapes from the SwiGLU tuning table. Returns an empty set for untuned shapes; dispatch falls back to its safety-net config in that case.

Structs

Functions

Was this page helpful?