SWDEV-400142 - build app using Languages(HIP) cmake (#3235)
1) project(name LANGUAGES HIP)
2) enable_language(HIP)
This allows user to build app without need for find_package(hip)
Change-Id: Ie6bf05e931758fab4b5b8c131c75ae86ac80deac
[ROCm/hip commit: d4762f69ef]
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
e1b3842f91
tiomantas
ef52932a4f
@@ -60,9 +60,6 @@ endif()
|
||||
set(HIP_COMPILER "@HIP_COMPILER@")
|
||||
set(HIP_RUNTIME "@HIP_RUNTIME@")
|
||||
|
||||
find_dependency(AMDDeviceLibs)
|
||||
find_dependency(amd_comgr)
|
||||
|
||||
include( "${CMAKE_CURRENT_LIST_DIR}/hip-lang-targets.cmake" )
|
||||
|
||||
# Find the hip-lang config file path with symlinks resolved
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir