SWDEV-261977 - Updated API to return runtime version
Change-Id: Id2373843c854c83ba06854dd05c61755d0264d8f
[ROCm/clr commit: 6d317ef831]
Este commit está contenido en:
cometido por
Sarbojit Sarkar
padre
455fcfd330
commit
dfe352e2bf
@@ -181,7 +181,8 @@ hipError_t hipRuntimeGetVersion(int *runtimeVersion) {
|
|||||||
HIP_RETURN(hipErrorInvalidValue);
|
HIP_RETURN(hipErrorInvalidValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
*runtimeVersion = AMD_PLATFORM_BUILD_NUMBER;
|
// HIP_VERSION = HIP_VERSION_MAJOR*100 + HIP_MINOR_VERSION
|
||||||
|
*runtimeVersion = HIP_VERSION;
|
||||||
|
|
||||||
HIP_RETURN(hipSuccess);
|
HIP_RETURN(hipSuccess);
|
||||||
}
|
}
|
||||||
|
|||||||
Referencia en una nueva incidencia
Block a user