IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Mojo struct

DecodeSProducerN

struct DecodeSProducerN[num_stages: Int]

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

Parameters

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

Fields

  • pipe (RolePipeline[num_stages]):

Implemented traits

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable

Methods

__init__

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

acquire

def acquire(self)

slot_index

def slot_index(self) -> UInt32

Returns:

UInt32

commit_mma

def commit_mma(mut self, elect: Int32)