Skip to main content

hipStreamGetAttribute

Function hipStreamGetAttribute 

Source
pub unsafe extern "C" fn hipStreamGetAttribute(
    stream: hipStream_t,
    attr: hipLaunchAttributeID,
    value_out: *mut hipLaunchAttributeValue,
) -> hipError_t
Expand description

@brief queries stream attribute. @param[in] stream - Stream to geet attributes from @param[in] attr - Attribute ID for the attribute to query @param[out] value - Attribute value output @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidResourceHandle