cuda.bindings._v2.driver.memcpy_htoa_async_v2#

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

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. src_host 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.

  • h_stream (intptr_t) – Stream identifier.

See also

cuMemcpyHtoAAsync_v2