cubecl_hip_sys

Function hipStreamGetPriority

Source
pub unsafe extern "C" fn hipStreamGetPriority(
    stream: hipStream_t,
    priority: *mut c_int,
) -> hipError_t
Expand description

@brief Query the priority of a stream.

@param[in] stream stream to be queried @param[in,out] priority Pointer to an unsigned integer in which the stream’s priority is returned @return #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidHandle

@returns #hipSuccess #hipErrorInvalidValue #hipErrorInvalidHandle

Query the priority of a stream. The priority is returned in in priority.

@see hipStreamCreateWithFlags