cuda.bindings._v2.driver.memcpy_htod_v2#

cuda.bindings._v2.driver.memcpy_htod_v2(uint64_t dst_device, src_host, size_t byte_count)#

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.

See also

cuMemcpyHtoD_v2