cuda.bindings._v2.driver.memcpy_atoa_v2#

cuda.bindings._v2.driver.memcpy_atoa_v2(
intptr_t dst_array,
size_t dst_offset,
intptr_t src_array,
size_t src_offset,
size_t byte_count,
)#

Copies memory from Array to Array.

Copies from one 1D CUDA array to another. dst_array and src_array specify the handles of the destination and source CUDA arrays for the copy, respectively. dst_offset and src_offset specify the destination and source offsets in bytes into the CUDA arrays. byte_count is the number of bytes to be copied. The size of the elements in the CUDA arrays need not be the same format, but the elements must be the same size; and count must be evenly divisible by that size.

Parameters:
  • dst_array (intptr_t) – Destination array.

  • dst_offset (size_t) – Offset in bytes of destination array.

  • src_array (intptr_t) – Source array.

  • src_offset (size_t) – Offset in bytes of source array.

  • byte_count (size_t) – Size of memory copy in bytes.

See also

cuMemcpyAtoA_v2