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 dst and src are the destination and source pointers respectively. size specifies the number of bytes to copy. attr specifies the attributes for the copy and h_stream specifies the stream to enqueue the operation in. For more information regarding the attributes, please refer to CUmemcpyAttributes and 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