pub unsafe extern "C" fn hipDeviceGetStreamPriorityRange(
leastPriority: *mut c_int,
greatestPriority: *mut c_int,
) -> hipError_t
Expand description
@brief Returns numerical values that correspond to the least and greatest stream priority.
@param[in, out] leastPriority pointer in which value corresponding to least priority is returned. @param[in, out] greatestPriority pointer in which value corresponding to greatest priority is returned. @returns #hipSuccess
Returns in *leastPriority and *greatestPriority the numerical values that correspond to the least and greatest stream priority respectively. Stream priorities follow a convention where lower numbers imply greater priorities. The range of meaningful stream priorities is given by [*greatestPriority, *leastPriority]. If the user attempts to create a stream with a priority value that is outside the meaningful range as specified by this API, the priority is automatically clamped to within the valid range.