IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0.0b1
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_relaxed

mbarrier_arrive_expect_tx_relaxed[type: AnyType, scope: Scope = Scope.BLOCK, space: Scope = Scope.BLOCK](addr: UnsafePointer[type, address_space=AddressSpace.SHARED], tx_count: Int32) -> UInt64

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.
  • scope (Scope): The scope of the memory barrier.
  • space (Scope): The space of the memory barrier.

Args:

Returns:

UInt64: The state.