cubecl_hip_sys

Function hiprtcVersion

Source
pub unsafe extern "C" fn hiprtcVersion(
    major: *mut c_int,
    minor: *mut c_int,
) -> hiprtcResult
Expand description

@ingroup Runtime @brief Sets the parameters as major and minor version.

@param [out] major HIP Runtime Compilation major version. @param [out] minor HIP Runtime Compilation minor version.

@returns #HIPRTC_ERROR_INVALID_INPUT, #HIPRTC_SUCCESS