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_dispatch
Provides dispatch logic for SM100 block-scaled (NVFP4, MXFP4, MXFP8) matmul kernels with optional elementwise epilogue.
comptime valuesβ
DISPATCH_HITβ
comptime DISPATCH_HIT = 1
DISPATCH_MISSβ
comptime DISPATCH_MISS = 0
loggerβ
comptime logger = Logger(stdout, prefix=String(""), source_location=False)
Functionsβ
- β
heuristic_and_outliers_dispatch: Dispatches an SM100 block-scaled matmul by selecting a tuning config from per-format outlier tables for specific M ranges, falling back to a small-BN config for GEMVs (m == 1) and a heuristic config table for the remaining cases. ReturnsDISPATCH_HITwhen a matching config is found and launched, orDISPATCH_MISSwhen no config matches.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!