summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/InferHipLang2
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-10-26 21:10:18 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2021-06-07 19:25:33 (GMT)
commit20d086f1a2c320da59830682a19e006ec19dca94 (patch)
treed717c7a2fd5742fb07a01dd8d418effd1cabb7b8 /Tests/HIP/InferHipLang2
parent2e86e50c2fb2897dc1a0612676c5bd26eb7924a9 (diff)
downloadCMake-20d086f1a2c320da59830682a19e006ec19dca94.zip
CMake-20d086f1a2c320da59830682a19e006ec19dca94.tar.gz
CMake-20d086f1a2c320da59830682a19e006ec19dca94.tar.bz2
HIP: All HIP tests now run on CMake's current AMD hardware
Diffstat (limited to 'Tests/HIP/InferHipLang2')
-rw-r--r--Tests/HIP/InferHipLang2/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/HIP/InferHipLang2/CMakeLists.txt b/Tests/HIP/InferHipLang2/CMakeLists.txt
index 0e69de3..a8a55b7 100644
--- a/Tests/HIP/InferHipLang2/CMakeLists.txt
+++ b/Tests/HIP/InferHipLang2/CMakeLists.txt
@@ -7,6 +7,7 @@ add_library(InterfaceWithHIP OBJECT)
target_sources(InterfaceWithHIP PRIVATE interface.hip main.cxx)
target_compile_features(InterfaceWithHIP INTERFACE hip_std_14)
target_compile_features(InterfaceWithHIP INTERFACE cxx_std_11)
+set_property(TARGET InterfaceWithHIP PROPERTY HIP_ARCHITECTURES gfx900)
add_executable(HIPInferHipLang2 )
target_link_libraries(HIPInferHipLang2 PRIVATE InterfaceWithHIP)