For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
mbarrier_arrive_expect_tx_shared
mbarrier_arrive_expect_tx_shared[type: AnyType](addr: UnsafePointer[type, address_space=AddressSpace.SHARED], tx_count: Int32)
Configure a shared memory barrier to expect additional async transactions.
Updates the current phase of the memory barrier to track completion of additional asynchronous transactions. Only supported on NVIDIA GPUs.
Parameters:
- type (
AnyType): The type of the memory barrier.
Args:
- addr (
UnsafePointer[type, address_space=AddressSpace.SHARED]): Pointer to the shared memory barrier. - tx_count (
Int32): Number of expected transactions to track.