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

epilogue_components

Low-level epilogue components for SM100 matrix multiplication.

This module provides modular building blocks for the output pipeline:

  1. store_fragment_to_smem: Register to shared memory via st.matrix instructions
  2. TMEMToSMemWriter: Write TMEM accumulators to shared memory
  3. TMAStoreExecutor: Execute TMA stores with proper SMEM tiling
  4. EpilogueApplier: Apply element-wise operations on fragments

The SM100 epilogue pipeline flows as: TMEM (accumulators) β†’ Registers β†’ SMEM β†’ GMEM (via TMA)

Structs​

Functions​