IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo function

mbarrier_arrive_expect_tx_shared

def mbarrier_arrive_expect_tx_shared[type: AnyType](addr: Pointer[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: