Change to generate hipVersion.h (#1726)

HIP_VERSION_MAJOR, HIP_VERSION_MINOR, HIP_VERSION_PATCH and HIP_VERSION pre-processor macros are now defined in hipVersion.h instead of being set by hipcc.

[ROCm/hip commit: aa4aea0754]
This commit is contained in:
Sarbojit2019
2019-12-30 12:44:24 +05:30
committed by Maneesh Gupta
parent ffea90f865
commit 6d2ec032fe
4 changed files with 57 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ THE SOFTWARE.
#include <thread>
#endif
#include <hip/hipVersion.h>
#include <hip/hip_common.h>
#if defined(__HIP_PLATFORM_HCC__) && !defined(__HIP_PLATFORM_NVCC__)