-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
71 changed files
with
6,220 additions
and
1,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,22 +11,13 @@ | |
# ------------------------------------------------------------------------------ | ||
|
||
# Builds with CUDA, RAJA and other TPLs | ||
# lassen_cuda_no_tpls: | ||
# parallel: | ||
# matrix: | ||
# - COMPILER_SPEC: [[email protected], [email protected]] | ||
# CUDA_SPEC: [[email protected], [email protected], [email protected]] | ||
# variables: | ||
# SPEC: "%${COMPILER_SPEC} cstd=99 cxxstd=14 precision=double ~int64 +mpi+openmp+cuda~raja~magma~superlu-dist~petsc~hypre~ginkgo cuda_arch=70 ^${CUDA_SPEC}+allow-unsupported-compilers" | ||
# extends: .lassen_build_and_test | ||
|
||
lassen_xl_cuda_tpls: | ||
lassen_cuda_no_tpls: | ||
parallel: | ||
matrix: | ||
- COMPILER_SPEC: [email protected] | ||
CUDA_SPEC: [cuda@11.8.0] | ||
- COMPILER_SPEC: [[email protected]] | ||
CUDA_SPEC: [cuda@10.1.243] | ||
variables: | ||
SPEC: "%${COMPILER_SPEC} cstd=99 cxxstd=14 precision=double ~int64 +mpi+openmp+cuda+raja+magma+superlu-dist+petsc+hypre+ginkgo cuda_arch=70 ^ginkgo+cuda cuda_arch=70 ^hypre~cuda ^petsc~cuda ^superlu-dist+cuda cuda_arch=70 ^magma+cuda cuda_arch=70 ^raja+cuda~openmp~examples~exercises cuda_arch=70 ^${CUDA_SPEC}+allow-unsupported-compilers" | ||
SPEC: "%${COMPILER_SPEC} cstd=99 cxxstd=14 precision=double ~int64 +mpi+openmp+cuda~raja~magma~superlu-dist~petsc~hypre~ginkgo cuda_arch=70 ^${CUDA_SPEC}+allow-unsupported-compilers" | ||
extends: .lassen_build_and_test | ||
|
||
lassen_gcc_cuda_tpls: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# --------------------------------------------------------------- | ||
# Programmer(s): Daniel R. Reynolds @ SMU | ||
# --------------------------------------------------------------- | ||
# SUNDIALS Copyright Start | ||
# Copyright (c) 2002-2023, Lawrence Livermore National Security | ||
# and Southern Methodist University. | ||
# All rights reserved. | ||
# | ||
# See the top-level LICENSE and NOTICE files for details. | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# SUNDIALS Copyright End | ||
# --------------------------------------------------------------- | ||
|
||
# Add the build targets for each backend | ||
if(BUILD_ARKODE AND BUILD_CVODE AND BUILD_IDA) | ||
foreach(backend ${KOKKOS_EXAMPLES_BACKENDS}) | ||
|
||
# set benchmark target name | ||
set(benchmark_target "advection_reaction_3D_kokkos.${backend}") | ||
|
||
# benchmark source files | ||
add_executable(${benchmark_target} | ||
advection_reaction_3D.cpp | ||
arkode_driver.cpp | ||
cvode_driver.cpp | ||
ida_driver.cpp | ||
rhs3D.hpp | ||
ParallelGrid.hpp | ||
check_retval.h) | ||
|
||
# which backend to use | ||
target_compile_definitions(${benchmark_target} PRIVATE USE_${backend}) | ||
|
||
# directories to include | ||
target_include_directories(${benchmark_target} | ||
PRIVATE | ||
${PROJECT_SOURCE_DIR}/utilities | ||
${MPI_CXX_INCLUDE_DIRS} | ||
) | ||
|
||
# libraries to link against | ||
target_link_libraries(${benchmark_target} | ||
PRIVATE | ||
sundials_arkode | ||
sundials_cvode | ||
sundials_ida | ||
sundials_nvecmpiplusx | ||
sundials_nveckokkos | ||
${MPI_CXX_LIBRARIES} | ||
${EXE_EXTRA_LINK_LIBS} | ||
) | ||
|
||
install(TARGETS ${benchmark_target} | ||
DESTINATION "${BENCHMARKS_INSTALL_PATH}/advection_reaction_3D/kokkos") | ||
|
||
install(FILES README.md ../scripts/compare_error.py ../scripts/compute_error.py ../scripts/pickle_solution_output.py | ||
DESTINATION "${BENCHMARKS_INSTALL_PATH}/advection_reaction_3D/kokkos") | ||
|
||
endforeach() | ||
endif() |
Oops, something went wrong.