cuda.bindings._v2.driver.memcpy_atod_v2#
- cuda.bindings._v2.driver.memcpy_atod_v2(
- uint64_t dst_device,
- intptr_t src_array,
- size_t src_offset,
- size_t byte_count,
Copies memory from Array to Device.
Copies from one 1D CUDA array to device memory.
dst_devicespecifies the base pointer of the destination and must be naturally aligned with the CUDA array elements.src_arrayandsrc_offsetspecify the CUDA array handle and the offset in bytes into the array where the copy is to begin.byte_countspecifies the number of bytes to copy and must be evenly divisible by the array element size.- Parameters:
dst_device (uint64_t) – Destination device pointer.
src_array (intptr_t) – Source array.
src_offset (size_t) – Offset in bytes of source array.
byte_count (size_t) – Size of memory copy in bytes.
See also
cuMemcpyAtoD_v2