SWDEV-418116 - FindHIP.cmake is moved to /opt/rocm/lib/cmake/hip/ from /opt/rocm/hip/cmake/
Refer hipify-perl from /opt/rocm/bin/. Change-Id: I95af838136b124d776323442253e8c74278d69e5
Cette révision appartient à :
1 Parent
03b6ca735f
révision
560ef9b945
3 fichiers modifiés
+3
-3
Aucun fichier ne correspond à votre recherche
@@ -25,7 +25,7 @@ project(square)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
# create square.cpp
|
||||
execute_process(COMMAND sh -c "${CMAKE_PREFIX_PATH}/hip/bin/hipify-perl ../square.cu > ../square.cpp")
|
||||
execute_process(COMMAND sh -c "${CMAKE_PREFIX_PATH}/bin/hipify-perl ../square.cu > ../square.cpp")
|
||||
|
||||
# Find hip
|
||||
find_package(hip)
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur