Skip to main content

cudaMemcpy3DWithAttributesAsync

Function cudaMemcpy3DWithAttributesAsync 

Source
pub unsafe extern "C" fn cudaMemcpy3DWithAttributesAsync(
    op: *mut cudaMemcpy3DBatchOp,
    flags: c_ulonglong,
    stream: cudaStream_t,
) -> cudaError_t
Expand description

Performs 3D asynchronous memory copy with the specified attributes.

Performs the copy operation specified in op. flags specifies the flags for the copy and stream specifies the stream to enqueue the operation in.

For more information regarding the operation, please refer to cudaMemcpy3DBatchOp and it’s usage desciption in::cudaMemcpy3DBatchAsync.

Note that this function may also return error codes from previous, asynchronous launches.

Note: This function exhibits asynchronous behavior for most use cases.

Note: Memory regions requested must be either entirely registered with CUDA, or in the case of host pageable transfers, not registered at all. Memory regions spanning over allocations that are both registered and not registered with CUDA are not supported and will return CUDA_ERROR_INVALID_VALUE.

§Parameters

  • op: Operation to perform.
  • flags: Flags for the copy, must be zero now.
  • stream: Stream to enqueue the operation in.

§Return value

See also: cudaMemcpy3DBatchAsync.