diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-10-26 21:10:18 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2021-06-07 19:25:33 (GMT) |
commit | 20d086f1a2c320da59830682a19e006ec19dca94 (patch) | |
tree | d717c7a2fd5742fb07a01dd8d418effd1cabb7b8 /Tests/HIP/MathFunctions | |
parent | 2e86e50c2fb2897dc1a0612676c5bd26eb7924a9 (diff) | |
download | CMake-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/MathFunctions')
-rw-r--r-- | Tests/HIP/MathFunctions/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/HIP/MathFunctions/CMakeLists.txt b/Tests/HIP/MathFunctions/CMakeLists.txt index 81e3ddb..69d63dd 100644 --- a/Tests/HIP/MathFunctions/CMakeLists.txt +++ b/Tests/HIP/MathFunctions/CMakeLists.txt @@ -13,6 +13,7 @@ project(MathFunctions HIP) # 3. This makes sure CMake properly links to all the built-in libraries # that hip needs that inject support for __half support # +set(CMAKE_HIP_ARCHITECTURES "gfx900") add_executable(HIPOnlyMathFunctions main.hip) target_compile_options(HIPOnlyMathFunctions PRIVATE -Werror) target_compile_features(HIPOnlyMathFunctions PRIVATE hip_std_14) |