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,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
Methodsβ
createβ
static 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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!