Skip to main content

Mojo struct

DecodeSM100MiscMBars

@register_passable(trivial) struct DecodeSM100MiscMBars[num_stages: Int, num_producer: Int, num_consumer: Int]

Fields

  • mbar_base (MBarType):

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable

comptime members

__copyinit__is_trivial

comptime __copyinit__is_trivial = True

__del__is_trivial

comptime __del__is_trivial = True

__moveinit__is_trivial

comptime __moveinit__is_trivial = True

Methods

__init__

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

init

init(self)

producer

producer(self) -> ProducerPipeline[num_stages]

Returns:

ProducerPipeline

consumer

consumer(self) -> ConsumerPipeline[num_stages]

Returns:

ConsumerPipeline

end

end(self) -> MBarType

Returns:

MBarType

Was this page helpful?