cuda.bindings._v2.driver.memcpy_dtoh_async_v2#

cuda.bindings._v2.driver.memcpy_dtoh_async_v2(
dst_host,
uint64_t src_device,
size_t byte_count,
intptr_t h_stream,
)#

Copies memory from Device to Host.

Copies from device to host memory. dst_host and src_device specify the base pointers of the destination and source, respectively. byte_count specifies the number of bytes to copy.

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

  • src_device (uint64_t) – Source device pointer.

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

  • h_stream (intptr_t) – Stream identifier.

See also

cuMemcpyDtoHAsync_v2