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]
Αυτή η υποβολή περιλαμβάνεται σε:
υποβλήθηκε από
GitHub
γονέας
e1b3842f91
υποβολή
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
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user