pub unsafe extern "C" fn hipRuntimeGetVersion(
    runtimeVersion: *mut i32
) -> hipError_t
Expand description

@brief Returns the approximate HIP Runtime version.

@param [out] runtimeVersion

@returns #hipSuccess, #hipErrorInvalidValue

@warning The version definition of HIP runtime is different from CUDA. On AMD platform, the function returns HIP runtime version, while on NVIDIA platform, it returns CUDA runtime version. And there is no mapping/correlation between HIP version and CUDA version.

@see hipDriverGetVersion