fix building OpenMP test target (#292)

* fix building openmp test target

* cmake format correction

* cmake format correction
This commit is contained in:
Bhardwaj, Gopesh
2025-03-18 14:16:18 +05:30
committato da GitHub
parent f5c9663c51
commit e0859f7d33
2 ha cambiato i file con 2 aggiunte e 18 eliminazioni
+1 -8
Vedi File
@@ -30,14 +30,7 @@ target_link_libraries(
PRIVATE rocprofiler-sdk::rocprofiler-sdk rocprofiler-sdk::samples-build-flags
rocprofiler-sdk::samples-common-library)
set(DEFAULT_GPU_TARGETS
"gfx906"
"gfx908"
"gfx90a"
"gfx942"
"gfx1100"
"gfx1101"
"gfx1102")
set(DEFAULT_GPU_TARGETS "gfx906" "gfx908" "gfx90a" "gfx942" "gfx1100" "gfx1101" "gfx1102")
set(OPENMP_GPU_TARGETS
"${DEFAULT_GPU_TARGETS}"
+1 -10
Vedi File
@@ -23,16 +23,7 @@ project(rocprofiler-tests-bin-openmp LANGUAGES CXX)
find_package(rocprofiler-sdk REQUIRED)
set(DEFAULT_GPU_TARGETS
"gfx906"
"gfx908"
"gfx90a"
"gfx940"
"gfx941"
"gfx942"
"gfx1100"
"gfx1101"
"gfx1102")
set(DEFAULT_GPU_TARGETS "gfx906" "gfx908" "gfx90a" "gfx942" "gfx1100" "gfx1101" "gfx1102")
set(OPENMP_GPU_TARGETS
"${DEFAULT_GPU_TARGETS}"