Skip to main content

Mojo struct

AMDWarpSharedMemoryBarrier

struct AMDWarpSharedMemoryBarrier[size: Int]

Implemented traits

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

Methods

initialize

initialize(ref[MutAnyOrigin, AddressSpace._value] self)

value

value(ref[AddressSpace._value] self) -> Int32

Returns:

Int32

increment

increment(ref[MutAnyOrigin, AddressSpace._value] self, warp_id: Int)

wait_until_greater_or_equal_to

wait_until_greater_or_equal_to(ref[AddressSpace._value] self, v: Int32)

Was this page helpful?