cubecl_hip_sys

Function hipStreamGetFlags

Source
pub unsafe extern "C" fn hipStreamGetFlags(
    stream: hipStream_t,
    flags: *mut c_uint,
) -> hipError_t
Expand description

@brief Return flags associated with this stream.

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

@returns #hipSuccess #hipErrorInvalidValue #hipErrorInvalidHandle

Return flags associated with this stream in *@p flags.

@see hipStreamCreateWithFlags