Skip to content

Commit 173cd24

Browse files
committed
changes of Kacper
1 parent afb24c3 commit 173cd24

26 files changed

+2198
-517
lines changed

benchmarks/gbench/mp/CMakeLists.txt

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,31 @@ add_executable(wave_equation wave_equation.cpp)
8181
target_link_libraries(wave_equation cxxopts DR::mpi)
8282
target_compile_definitions(wave_equation PRIVATE STANDALONE_BENCHMARK)
8383
add_mp_ctest(NAME wave_equation)
84+
add_executable(wave_equation_wide wave_equation_wide.cpp)
85+
target_link_libraries(wave_equation_wide cxxopts DR::mpi)
86+
target_compile_definitions(wave_equation_wide PRIVATE STANDALONE_BENCHMARK)
87+
add_mp_ctest(NAME wave_equation_wide)
8488
# add_mp_ctest(TEST_NAME wave_equation_fused NAME wave_equation TARGS -f) #
8589
# DRA-92
8690
if(ENABLE_SYCL)
8791
add_mp_ctest(
88-
TEST_NAME wave_equation-sycl NAME wave_equation NPROC 2 SYCL)
92+
TEST_NAME wave_equation-sycl NAME wave_equation TIMEOUT 1000 NPROC 8 SYCL)
8993
add_mp_ctest(
90-
TEST_NAME wave_equation_fused-sycl NAME wave_equation NPROC 2 SYCL TARGS -f)
94+
TEST_NAME wave_equation-sycl-benchmark NAME wave_equation TIMEOUT 1000 NPROC 8 SYCL TARGS -t)
95+
add_mp_ctest(
96+
TEST_NAME wave_equation_fused-sycl NAME wave_equation TIMEOUT 1000 NPROC 2 SYCL TARGS -f)
97+
add_mp_ctest(
98+
TEST_NAME wave_equation_wide-sycl NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL)
99+
foreach(redundancy RANGE 1 8)
100+
add_mp_ctest(
101+
TEST_NAME wave_equation_wide-sycl-benchmark-${redundancy} NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL TARGS -t 100 -r ${redundancy})
102+
endforeach()
103+
add_mp_ctest(
104+
TEST_NAME wave_equation_wide-sycl-gpu NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL TARGS --device-memory)
105+
foreach(redundancy RANGE 1 8)
106+
add_mp_ctest(
107+
TEST_NAME wave_equation_wide-sycl-gpu-benchmark-${redundancy} NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL TARGS --device-memory -t 100 -r ${redundancy})
108+
endforeach()
91109
endif()
92110

93111
add_executable(shallow_water shallow_water.cpp)

0 commit comments

Comments
 (0)