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).

async_copy_arrive

async_copy_arrive[type: AnyType, address_space: AddressSpace](address: UnsafePointer[type, address_space=address_space])

Makes a memory barrier track all prior async copy operations from this thread.

This function ensures that all previously initiated asynchronous copy operations from the executing thread are tracked by the memory barrier at the specified location. Only supported on NVIDIA GPUs.

Parameters:

  • type (AnyType): The data type stored at the barrier location.
  • address_space (AddressSpace): The memory address space where the barrier is located.

Args: