SWDEV-291894 - update warning message for hipRuntimeGetVersion (#2334)

Change-Id: Ibec032765cc53c1a438272b0114d57947c9fded7
This commit is contained in:
Julia Jiang
2021-09-14 04:05:37 -04:00
committed by GitHub
parent 6a09344dba
commit 0e48f796cd
+4 -2
View File
@@ -913,8 +913,10 @@ hipError_t hipDriverGetVersion(int* driverVersion);
*
* @returns #hipSuccess, #hipErrorInavlidValue
*
* @warning On HIP/HCC path this function returns HIP runtime patch version however on
* HIP/NVCC path this function return CUDA runtime version.
* @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
*/