cuda.bindings._v2.driver.memcpy_dtoa_v2#

cuda.bindings._v2.driver.memcpy_dtoa_v2(
intptr_t dst_array,
size_t dst_offset,
uint64_t src_device,
size_t byte_count,
)#

Copies memory from Device to Array.

Copies from device memory to a 1D CUDA array. dst_array and dst_offset specify the CUDA array handle and starting index of the destination data. src_device specifies the base pointer of the source. byte_count specifies the number of bytes to copy.

Parameters:
  • dst_array (intptr_t) – Destination array.

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

  • src_device (uint64_t) – Source device pointer.

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

See also

cuMemcpyDtoA_v2