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
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
3aad3723f2
commit
d4762f69ef
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user