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

OutputConsumer

struct OutputConsumer[origin: MutOrigin, opc: OutputPipelineConfig]

Consumer view for epilogue warp (output pipeline).

Fields​

  • ​pipeline_ptr (Pointer[OutputTilePipeline[opc], origin]):

Implemented traits​

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

comptime members​

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)