cuda.bindings._v2.driver.memcpy_with_attributes_async#
- cuda.bindings._v2.driver.memcpy_with_attributes_async(
- uint64_t dst,
- uint64_t src,
- size_t size,
- attr,
- intptr_t h_stream,
Performs asynchronous memory copy operation with the specified attributes.
Performs asynchronous memory copy operation where
dstandsrcare the destination and source pointers respectively.sizespecifies the number of bytes to copy.attrspecifies the attributes for the copy andh_streamspecifies the stream to enqueue the operation in. For more information regarding the attributes, please refer toCUmemcpyAttributesand it’s usage desciption in::cuMemcpyBatchAsync.- Parameters:
dst (uint64_t) – Destination device pointer.
src (uint64_t) – Source device pointer.
size (size_t) – Number of bytes to copy.
attr (intptr_t) – Attributes for the copy.
h_stream (intptr_t) – Stream to enqueue the operation in.
See also
cuMemcpyWithAttributesAsync