summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/MathFunctions
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2021-05-27 18:03:51 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2021-06-07 19:25:34 (GMT)
commit8514ee9b315b4ad02eed0e3cf11d8579f307fac0 (patch)
treedf30dd3b7d79440fad1319bcbce9889de8686461 /Tests/HIP/MathFunctions
parent20d086f1a2c320da59830682a19e006ec19dca94 (diff)
downloadCMake-8514ee9b315b4ad02eed0e3cf11d8579f307fac0.zip
CMake-8514ee9b315b4ad02eed0e3cf11d8579f307fac0.tar.gz
CMake-8514ee9b315b4ad02eed0e3cf11d8579f307fac0.tar.bz2
HIP: analyze output of `hipcc` to determine default GPU architecture
Diffstat (limited to 'Tests/HIP/MathFunctions')
-rw-r--r--Tests/HIP/MathFunctions/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tests/HIP/MathFunctions/CMakeLists.txt b/Tests/HIP/MathFunctions/CMakeLists.txt
index 69d63dd..81e3ddb 100644
--- a/Tests/HIP/MathFunctions/CMakeLists.txt
+++ b/Tests/HIP/MathFunctions/CMakeLists.txt
@@ -13,7 +13,6 @@ 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)