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.

ยงParameters

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