Skip to main content

Mojo struct

DecodeSM100MiscMBars

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

Fields​

  • ​mbar_base (MBarType):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

Methods​

__init__​

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

init​

init(self)

producer​

producer(self) -> RolePipeline[num_stages]

Returns:

RolePipeline[num_stages]

consumer​

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

Returns:

RolePipeline[num_stages, False]

end​

end(self) -> MBarType

Returns:

MBarType