Skip to content

Commit 77418e0

Browse files
authored
Fixing External/HecBench (#66)
* fixing the CMakeList.txt for external/HeCBench * removing some debugging prints and reformating * testing
1 parent 35d97bd commit 77418e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

External/HeCBench/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set(CHOOSEN_LISTS)
2828
set(NVIDIA
2929
ace-omp/main.cpp
3030
1
31-
31+
3232
adam-omp/main.cpp
3333
1
3434
1
@@ -46,6 +46,7 @@ set(NVIDIA
4646
1
4747
1
4848
)
49+
4950
set(NVIDIA_RUNTIME_REDLIST)
5051
set(NVIDIA_COMPILER_REDLIST)
5152

@@ -93,7 +94,7 @@ function (add_hecbench LANG)
9394
continue ()
9495
endif ()
9596

96-
list(FIND TEST_SUITE_HECBENCH_EXPECT_PASS "${_file}" _index)
97+
list(FIND CHOOSEN_LISTS "${_file}" _index)
9798
if (${_index} EQUAL -1)
9899
message(STATUS "Skipping HeCBench Benchmark ${_file}")
99100
continue ()
@@ -102,7 +103,7 @@ function (add_hecbench LANG)
102103
set(_args_for_benchmark "")
103104
set(IN_DIRECTORY FALSE)
104105

105-
foreach(item IN LISTS TEST_SUITE_HECBENCH_EXPECT_PASS)
106+
foreach(item IN LISTS CHOOSEN_LISTS)
106107
if(item MATCHES ".*-omp.*")
107108

108109
if(IN_DIRECTORY)
@@ -157,7 +158,6 @@ function (add_hecbench LANG)
157158
message(STATUS "Makefile not found in ${BENCHMARK_DIR}.")
158159
endif()
159160

160-
161161
set(_includedir "${TEST_SUITE_HECBENCH_ROOT}/src/${CFLAGS_INCLUDE}" )
162162

163163
llvm_test_executable(${_name} "${TEST_SUITE_HECBENCH_ROOT}/src/${_file}")
@@ -229,7 +229,7 @@ if (TEST_SUITE_HECBENCH_ROOT AND NOT TEST_SUITE_BENCHMARKING_ONLY)
229229
message(STATUS "Option is unrecognized (${list_option})")
230230
endif()
231231
endforeach()
232-
list(REMOVE_DUPLICATES CHOOSEN_LISTS)
232+
#list(REMOVE_DUPLICATES CHOOSEN_LISTS)
233233

234234
foreach (_lang in CXX)
235235
if (CMAKE_${_lang}_COMPILER)

0 commit comments

Comments
 (0)