cupyx.jit.cg.memcpy_async

cupyx.jit.cg.memcpy_async(group, dst, dst_idx, src, src_idx, size, *, aligned_size=None) = <cupyx.jit.cg._MemcpySync object>

Calls cg::memcpy_sync().

Parameters
  • group – a valid cooperative group

  • dst – the destination array that can be viewed as a 1D C-contiguous array

  • dst_idx – the start index of the destination array element

  • src – the source array that can be viewed as a 1D C-contiguous array

  • src_idx – the start index of the source array element

  • size (int) – the number of bytes to be copied from src[src_index] to dst[dst_idx]

  • aligned_size (int) – Use cuda::aligned_size_t<N> to guarantee the compiler that src/dst are at least N-bytes aligned. The behavior is undefined if the guarantee is not held.

See also

cg::memcpy_sync