Skip to content
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

Update submodules and code to use C++17 #134

Merged
merged 1 commit into from
Nov 1, 2022
Merged
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
2 changes: 1 addition & 1 deletion Source/PeleLMTimestep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ PeleLM::estDivUDt(const TimeStamp &a_time) {
Real divu_dt = amrex::ReduceMin(*density, ldata_p->divu, 0,
[dtfac, rhoMin]
AMREX_GPU_HOST_DEVICE (Box const& bx, Array4<Real const> const& rho,
Array4<Real const> const& divu ) noexcept -> Real
Array4<Real const> const& divu ) -> Real
{
using namespace amrex::literals;
const auto lo = amrex::lbound(bx);
Expand Down
2 changes: 1 addition & 1 deletion Submodules/AMReX-Hydro
2 changes: 1 addition & 1 deletion Submodules/PeleMP
2 changes: 1 addition & 1 deletion Submodules/amrex
Submodule amrex updated 33 files
+0 −44 CHANGES
+1 −1 Docs/sphinx_documentation/source/SWFFT.rst
+40 −180 Src/AmrCore/AMReX_ErrorList.cpp
+0 −48 Src/AmrCore/AMReX_Interp_C.H
+0 −69 Src/AmrCore/AMReX_Interpolater.H
+0 −93 Src/AmrCore/AMReX_Interpolater.cpp
+1 −52 Src/Base/AMReX_Algorithm.H
+0 −49 Src/Base/AMReX_Array4.H
+0 −107 Src/Base/AMReX_GpuLaunch.H
+0 −52 Src/Base/AMReX_GpuLaunchFunctsG.H
+0 −56 Src/Base/AMReX_GpuLaunchMacrosG.H
+1 −0 Src/Base/AMReX_GpuTypes.H
+1 −0 Src/Base/AMReX_Math.H
+0 −12 Src/Base/AMReX_MultiFabUtil.H
+0 −154 Src/Base/AMReX_MultiFabUtil.cpp
+1 −25 Src/Base/AMReX_Orientation.H
+1 −0 Src/Base/AMReX_RandomEngine.H
+2 −0 Src/Base/AMReX_VisMF.H
+0 −1 Src/EB/AMReX_EB2_GeometryShop.H
+0 −1 Src/LinearSolvers/MLMG/AMReX_MLEBNodeFDLaplacian.H
+1 −2 Src/LinearSolvers/MLMG/AMReX_MLEBTensorOp.H
+149 −151 Src/LinearSolvers/MLMG/AMReX_MLEBTensorOp.cpp
+18 −40 Src/LinearSolvers/MLMG/AMReX_MLEBTensorOp_bc.cpp
+18 −120 Src/LinearSolvers/MLMG/AMReX_MLEBTensor_2D_K.H
+40 −499 Src/LinearSolvers/MLMG/AMReX_MLEBTensor_3D_K.H
+0 −139 Src/LinearSolvers/MLMG/AMReX_MLEBTensor_K.H
+34 −106 Src/LinearSolvers/MLMG/AMReX_MLTensorOp.cpp
+48 −112 Src/LinearSolvers/MLMG/AMReX_MLTensorOp_grad.cpp
+95 −287 Src/LinearSolvers/MLMG/AMReX_MLTensor_2D_K.H
+955 −1,889 Src/LinearSolvers/MLMG/AMReX_MLTensor_3D_K.H
+0 −117 Src/LinearSolvers/MLMG/AMReX_MLTensor_K.H
+4 −0 Src/Particle/AMReX_ParticleInit.H
+1 −19 Src/Particle/AMReX_WriteBinaryParticleData.H
4 changes: 3 additions & 1 deletion Utils/Make.PeleLMeX
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ AMReX_buildInfo.cpp:
include $(AMREX_HOME)/Tools/GNUMake/Make.rules

ifeq ($(USE_CUDA),TRUE)
CXXFLAGS+=-Xptxas --disable-optimizer-constants
CXXFLAGS+=-Xptxas --disable-optimizer-constants -Xcompiler=-std=c++17
endif

CXXFLAGS+=-std=c++17

# Force TPL as deps. of exec sources
##$(objForExecs): TPL

Expand Down