cuda.bindings._v2.driver.memcpy_htoa_v2#

cuda.bindings._v2.driver.memcpy_htoa_v2(
intptr_t dst_array,
size_t dst_offset,
src_host,
size_t byte_count,
)#

Copies memory from Host to Array.

Copies from host memory to a 1D CUDA array. dst_array and dst_offset specify the CUDA array handle and starting offset in bytes of the destination data. pSrc specifies the base address 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_host (bytes) – Source host pointer.

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

See also

cuMemcpyHtoA_v2