summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/rocm-debug-agent/0002-add-hip-architecture.patch
blob: b1361321572f8650453b88271f64345af77fcfc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 62ee104..e1dd0d5 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -42,6 +42,7 @@ find_package(HIP REQUIRED MODULE)
 file(GLOB SOURCES "*.cpp")
 
 set_source_files_properties(${SOURCES} PROPERTIES HIP_SOURCE_PROPERTY_FORMAT 1)
+set(CMAKE_HIP_ARCHITECTURES gfx900 gfx906 gfx908 gfx90a )
 hip_add_executable(rocm-debug-agent-test ${SOURCES}
   HIPCC_OPTIONS --amdgpu-target=gfx900 --amdgpu-target=gfx906
                 --amdgpu-target=gfx908 --amdgpu-target=gfx90a