SWDEV-303760 - Windows: to use the HIP found using find_package(hip)

Change-Id: I8dcc0adae5decc17aff45850681c3502c9e19fae
This commit is contained in:
Ajay
2022-03-31 17:05:08 +00:00
committed by Ajay GunaShekar
parent 8618b1cd07
commit 18c4458e8c
+2 -1
View File
@@ -108,7 +108,8 @@ if(WIN32)
elseif(DEFINED ENV{HIP_DIR})
file(TO_CMAKE_PATH "$ENV{HIP_DIR}" HIP_DIR)
else()
set(HIP_PATH "C:/Program Files/AMD HIP SDK/hip")
# using the HIP found
set(HIP_PATH ${PACKAGE_PREFIX_DIR})
endif()
else()
# Linux - set a default path for ROCM_PATH