Skip to main content

hipStreamSetAttribute

Function hipStreamSetAttribute 

Source
pub unsafe extern "C" fn hipStreamSetAttribute(
    stream: hipStream_t,
    attr: hipLaunchAttributeID,
    value: *const hipLaunchAttributeValue,
) -> hipError_t
Expand description

@brief Sets stream attribute. Updated attribute is applied to work submitted to the stream. @param[in] stream - Stream to set attributes to @param[in] attr - Attribute ID for the attribute to set @param[in] value - Attribute value for the attribute to set @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidResourceHandle