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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user