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

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, ImplicitlyDeletable, 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__​

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

__enter__​

def __enter__(mut self) -> Self.Stage

Returns:

Self.Stage

__exit__​

def __exit__(mut self)