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 struct

EpilogueConfig

struct EpilogueConfig

Computed epilogue parameters based on MMA and CTA configuration.

Bundles the 7 input parameters shared by all epilogue component structs (TMAStoreCoords, TMAStoreExecutor, TMEMToSMemWriter, SMemEpilogueWriter) plus 3 derived fields (is_lower_frag_required, num_stages, fragment_size).

Constructed once per TileWriter/BlockwiseFP8TileWriter and propagated to all epilogue component types.

Fields​

  • ​MMA_M (Int):
  • ​MMA_N (Int):
  • ​stageN (Int):
  • ​cta_group (Int):
  • ​transpose_c (Bool):
  • ​BM (Int):
  • ​BN (Int):
  • ​is_lower_frag_required (Bool):
  • ​num_stages (Int):
  • ​fragment_size (Int):

Implemented traits​

AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDeletable, Movable, RegisterPassable, TrivialRegisterPassable

Methods​

create​

static def create(*, MMA_M: Int, MMA_N: Int, stageN: Int, cta_group: Int, transpose_c: Bool, BM: Int, BN: Int) -> Self

Construct EpilogueConfig with derived fields computed automatically.