Skip to main content
Log in

Mojo function

async_copy_arrive

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

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.

Args:

  • address (UnsafePointer[type, address_space=address_space, alignment=alignment, mut=mut, origin=origin]): Pointer to the memory barrier object location.