From 0e48f796cdd9dfbe99237de2a070aae38f509396 Mon Sep 17 00:00:00 2001 From: Julia Jiang <56359287+jujiang-del@users.noreply.github.com> Date: Tue, 14 Sep 2021 04:05:37 -0400 Subject: [PATCH] SWDEV-291894 - update warning message for hipRuntimeGetVersion (#2334) Change-Id: Ibec032765cc53c1a438272b0114d57947c9fded7 --- include/hip/hip_runtime_api.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 2e939273ab..d1ba129917 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -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 */