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
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!