diff options
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | Source/BoundaryConditions/PML.H | 7 | ||||
-rw-r--r-- | Source/Utils/WarpXMovingWindow.cpp | 2 |
3 files changed, 1 insertions, 10 deletions
diff --git a/GNUmakefile b/GNUmakefile index 5575a558e..1acd53be7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -20,8 +20,6 @@ TINY_PROFILE = TRUE USE_OMP = TRUE USE_GPU = FALSE -FAB_IS_MANAGED = FALSE - EBASE = main USE_PYTHON_MAIN = FALSE diff --git a/Source/BoundaryConditions/PML.H b/Source/BoundaryConditions/PML.H index 25dfc7996..0cf367284 100644 --- a/Source/BoundaryConditions/PML.H +++ b/Source/BoundaryConditions/PML.H @@ -62,13 +62,6 @@ namespace amrex { virtual void destroy (SigmaBox* fab) const final { delete fab; } -#ifdef AMREX_USE_GPU - virtual SigmaBox* createDeviceAlias (SigmaBox const& src) const final - { - return const_cast<SigmaBox*>(&src); - } - virtual void destroyDeviceAlias (SigmaBox* fab) const final {} -#endif virtual FabFactory<SigmaBox>* clone () const { return new FabFactory<SigmaBox>(*this); } diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp index ae781f9aa..06a7d2614 100644 --- a/Source/Utils/WarpXMovingWindow.cpp +++ b/Source/Utils/WarpXMovingWindow.cpp @@ -214,7 +214,7 @@ WarpX::shiftMF (MultiFab& mf, const Geometry& geom, int num_shift, int dir) AMREX_ALWAYS_ASSERT(ng.min() >= num_shift); - MultiFab tmpmf(ba, dm, nc, ng, MFInfo().SetDeviceFab(false)); + MultiFab tmpmf(ba, dm, nc, ng); MultiFab::Copy(tmpmf, mf, 0, 0, nc, ng); tmpmf.FillBoundary(geom.periodicity()); |