cuda.bindings._v2.driver.memcpy_htod_async_v2#

cuda.bindings._v2.driver.memcpy_htod_async_v2(
uint64_t dst_device,
src_host,
size_t byte_count,
intptr_t h_stream,
)#

Copies memory from Host to Device.

Copies from host memory to device memory. dst_device and src_host are the base addresses of the destination and source, respectively. byte_count specifies the number of bytes to copy.

Parameters:
  • dst_device (uint64_t) – Destination device pointer.

  • src_host (bytes) – Source host pointer.

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

  • h_stream (intptr_t) – Stream identifier.

See also

cuMemcpyHtoDAsync_v2