Mojo struct
TMABarrier
@register_passable(trivial)
struct TMABarrier
Fields
- mbar (
UnsafePointer[SIMD[int64, 1], address_space=3]
):
Implemented traits
AnyType
,
CollectionElement
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Methods
__init__
__init__() -> Self
init
init(self, num_threads: SIMD[int32, 1] = SIMD(1))
expect_bytes
expect_bytes(self, bytes: SIMD[int32, 1])
wait
wait(self, phase: SIMD[uint32, 1] = SIMD(0))
arrive
arrive(self) -> Int
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!