cuda.bindings._v2.driver.memcpy_async#
- cuda.bindings._v2.driver.memcpy_async(
- uint64_t dst,
- uint64_t src,
- size_t byte_count,
- intptr_t h_stream,
Copies memory asynchronously.
Copies data between two pointers.
dstandsrcare base pointers of the destination and source, respectively.byte_countspecifies the number of bytes to copy. Note that this function infers the type of the transfer (host to host, host to device, device to device, or device to host) from the pointer values. This function is only allowed in contexts which support unified addressing.- Parameters:
dst (uint64_t) – Destination unified virtual address space pointer.
src (uint64_t) – Source unified virtual address space pointer.
byte_count (size_t) – Size of memory copy in bytes.
h_stream (intptr_t) – Stream identifier.
See also
cuMemcpyAsync