Skip to content

extended outer grid for halo exchange (2) #890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function(add_mp_ctest_impl)
endif()

if(AMC_OFFLOAD OR ENABLE_ISHMEM)
set(extra_mpiflags "-genv;I_MPI_OFFLOAD;1")
set(extra_mpiflags "-genv;I_MPI_OFFLOAD;1;-genv;I_MPI_OFFLOAD_IPC;0")
endif()

if(ENABLE_ISHMEM)
Expand Down Expand Up @@ -394,7 +394,8 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
include(GoogleTest)

add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wall>)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Werror>)
# DR stopped to compile without warnings :(
# add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Werror>)

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wno-error=stringop-overflow=)
Expand Down
22 changes: 20 additions & 2 deletions benchmarks/gbench/mp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,31 @@ add_executable(wave_equation wave_equation.cpp)
target_link_libraries(wave_equation cxxopts DR::mpi)
target_compile_definitions(wave_equation PRIVATE STANDALONE_BENCHMARK)
add_mp_ctest(NAME wave_equation)
add_executable(wave_equation_wide wave_equation_wide.cpp)
target_link_libraries(wave_equation_wide cxxopts DR::mpi)
target_compile_definitions(wave_equation_wide PRIVATE STANDALONE_BENCHMARK)
add_mp_ctest(NAME wave_equation_wide)
# add_mp_ctest(TEST_NAME wave_equation_fused NAME wave_equation TARGS -f) #
# DRA-92
if(ENABLE_SYCL)
add_mp_ctest(
TEST_NAME wave_equation-sycl NAME wave_equation NPROC 2 SYCL)
TEST_NAME wave_equation-sycl NAME wave_equation TIMEOUT 1000 NPROC 8 SYCL)
add_mp_ctest(
TEST_NAME wave_equation_fused-sycl NAME wave_equation NPROC 2 SYCL TARGS -f)
TEST_NAME wave_equation-sycl-benchmark NAME wave_equation TIMEOUT 1000 NPROC 8 SYCL TARGS -t)
add_mp_ctest(
TEST_NAME wave_equation_fused-sycl NAME wave_equation TIMEOUT 1000 NPROC 2 SYCL TARGS -f)
add_mp_ctest(
TEST_NAME wave_equation_wide-sycl NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL)
foreach(redundancy RANGE 1 8)
add_mp_ctest(
TEST_NAME wave_equation_wide-sycl-benchmark-${redundancy} NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL TARGS -t 100 -r ${redundancy})
endforeach()
add_mp_ctest(
TEST_NAME wave_equation_wide-sycl-gpu NAME wave_equation_wide TIMEOUT 1000 NPROC 8 SYCL TARGS --device-memory)
foreach(redundancy RANGE 1 8)
add_mp_ctest(
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})
endforeach()
endif()

add_executable(shallow_water shallow_water.cpp)
Expand Down
Loading
Loading