Skip to main content
Async copy uses undocumented AIR intrinsics for non-blocking device-threadgroup data movement. Requires M3+ hardware.
Experimental. Uses __asm("air.simdgroup_async_copy_*") extern declarations (same technique as percisely.xyz/gemm). Apple may change or remove access to these intrinsics at any time.

Functions

Parameters

  • dst, src: Tensor, RegisterTensor, or buffer name string
  • dst_offset, src_offset: Element offset into the buffer
  • count: Number of elements (1D)
  • dst_epr, src_epr: Elements per row (2D stride)
  • tile_cols, tile_rows: Tile dimensions (2D)

Example

Legacy aliases