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

DecodeSM100MiscMBars

struct DecodeSM100MiscMBars[num_stages: Int, num_producer: Int, num_consumer: Int]

Fields​

  • ​mbar_base (MBarType):

Implemented traits​

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

Methods​

__init__​

def __init__(mbar_base: UnsafePointer[SharedMemBarrier, MutAnyOrigin, address_space=AddressSpace.SHARED]) -> Self

init​

def init(self)

producer​

def producer(self) -> RolePipeline[num_stages]

Returns:

RolePipeline[num_stages]

consumer​

def consumer(self) -> RolePipeline[num_stages, False]

Returns:

RolePipeline[num_stages, False]

end​

def end(self) -> MBarType

Returns:

MBarType