cuda.bindings._v2.driver.memcpy_atoh_v2#

cuda.bindings._v2.driver.memcpy_atoh_v2(
dst_host,
intptr_t src_array,
size_t src_offset,
size_t byte_count,
)#

Copies memory from Array to Host.

Copies from one 1D CUDA array to host memory. dst_host specifies the base pointer of the destination. src_array and src_offset specify the CUDA array handle and starting offset in bytes of the source data. byte_count specifies the number of bytes to copy.

Parameters:
  • dst_host (bytes) – Destination device pointer.

  • 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

cuMemcpyAtoH_v2