Skip to main content

cudaStreamCopyAttributes

Function cudaStreamCopyAttributes 

Source
pub unsafe extern "C" fn cudaStreamCopyAttributes(
    dst: cudaStream_t,
    src: cudaStream_t,
) -> cudaError_t
Expand description

Copies attributes from source stream to destination stream.

Copies attributes from source stream src to destination stream dst. Both streams must have the same context.

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

§Parameters

  • dst: Destination stream.
  • src: Source stream For attributes see cudaStreamAttrID.

§Return value

See also: cudaAccessPolicyWindow.