Skip to main content

Mojo struct

MmaKStage

struct MmaKStage[origin: MutOrigin, opc: OutputPipelineConfig]

Per-K stage context for MMA warp in blockwise FP8.

enter: Acquires stage, waits for epilogue to release previous stage exit: Signals mma_arrive to notify epilogue, advances producer stage

Fields

  • pipeline_ptr (Pointer[OutputTilePipeline[opc], origin]):
  • stage (MmaKStage[origin, opc].Stage):

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

comptime members

num_stages

comptime num_stages = opc.num_stages

Stage

comptime Stage = OutputStage[opc]

TilePipelineType

comptime TilePipelineType = OutputTilePipeline[opc]

Methods

__init__

__init__(pipeline_ptr: Pointer[OutputTilePipeline[opc], origin]) -> Self

__enter__

__enter__(mut self) -> MmaKStage[origin, opc].Stage

Returns:

MmaKStage

__exit__

__exit__(mut self)

Was this page helpful?