Skip to main content

Mojo struct

OutputProducer

struct OutputProducer[origin: MutOrigin, opc: OutputPipelineConfig]

Producer view for MMA warp (output pipeline).

Fields​

  • ​pipeline_ptr (Pointer[OutputTilePipeline[opc], origin]):
  • ​stage (OutputProducer[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) -> OutputProducer[origin, opc].Stage

Returns:

OutputProducer[origin, opc].Stage

__exit__​

__exit__(mut self)