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

DecodePProducerN

struct DecodePProducerN[num_stages: Int]

N-stage parameterized producer side of the P pipeline between softmax and MMA.

Parameters​

  • ​num_stages (Int): Number of pipeline slots in the P buffer between softmax and MMA.

Fields​

  • ​pipe (RolePipeline[num_stages]):

Implemented traits​

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

Methods​

__init__​

def __init__(pipe: RolePipeline[num_stages]) -> Self

acquire​

def acquire(self)

commit​

def commit(mut self)

stage_index​

def stage_index(self) -> UInt32

Returns:

UInt32

Was this page helpful?