2
0

SWDEV-261977 - Updated API to return runtime version

Change-Id: Id2373843c854c83ba06854dd05c61755d0264d8f


[ROCm/hip commit: 6b8ca9a503]
Este cometimento está contido em:
Sarbojit Sarkar
2021-04-14 06:51:13 +00:00
cometido por Sarbojit Sarkar
ascendente 578ce42bc5
cometimento 46b21fcd13
+2 -1
Ver ficheiro
@@ -181,7 +181,8 @@ hipError_t hipRuntimeGetVersion(int *runtimeVersion) {
HIP_RETURN(hipErrorInvalidValue);
}
*runtimeVersion = AMD_PLATFORM_BUILD_NUMBER;
// HIP_VERSION = HIP_VERSION_MAJOR*100 + HIP_MINOR_VERSION
*runtimeVersion = HIP_VERSION;
HIP_RETURN(hipSuccess);
}