Mojo function
async_copy_arrive
async_copy_arrive[type: AnyType, address_space: AddressSpace](address: UnsafePointer[type, address_space=address_space, 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.
Parameters:
- โtype (
AnyType
): The data type stored at the barrier location. - โaddress_space (
AddressSpace
): The memory address space where the barrier is located.
Args:
- โaddress (
UnsafePointer
): Pointer to the memory barrier object location.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!