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:
ROCm CI Service Account
2023-06-01 22:19:16 +05:30
zatwierdzone przez GitHub
rodzic 3aad3723f2
commit d4762f69ef
-3
Wyświetl plik
@@ -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