Function cuStreamSetAttribute

Source
pub unsafe extern "C" fn cuStreamSetAttribute(
    hStream: CUstream,
    attr: CUstreamAttrID,
    value: *const CUstreamAttrValue,
) -> CUresult
Expand description

\brief Sets stream attribute.

Sets attribute \p attr on \p hStream from corresponding attribute of \p value. The updated attribute will be applied to subsequent work submitted to the stream. It will not affect previously submitted work.

\param[out] hStream \param[in] attr \param[in] value

\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_HANDLE \notefnerr

\sa ::CUaccessPolicyWindow