fix building OpenMP test target (#292)

* fix building openmp test target

* cmake format correction

* cmake format correction

[ROCm/rocprofiler-sdk commit: e0859f7d33]
This commit is contained in:
Bhardwaj, Gopesh
2025-03-18 14:16:18 +05:30
committed by GitHub
parent 9764f96427
commit c66e315ad0
2 changed files with 2 additions and 18 deletions
@@ -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}"
@@ -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}"