Function rcudnn_sys::cudaStreamCopyAttributes[][src]

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

\brief Copies attributes from source stream to destination stream.

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

\param[out] dst Destination stream \param[in] src Source stream For attributes see ::cudaStreamAttrID

\return ::cudaSuccess, ::cudaErrorNotSupported \notefnerr

\sa ::cudaAccessPolicyWindow