diff options
author | 2019-09-25 09:54:52 -0700 | |
---|---|---|
committer | 2019-09-25 09:54:52 -0700 | |
commit | d67030eb709d965672a9900132d0085922335cc1 (patch) | |
tree | 1777fa8db88c5c9c3a71a63e01e38e3b122411cc /Source/Parallelization/WarpXComm.cpp | |
parent | 15658267709e5a53a11ef6f945d1bfb283f994a6 (diff) | |
download | WarpX-d67030eb709d965672a9900132d0085922335cc1.tar.gz WarpX-d67030eb709d965672a9900132d0085922335cc1.tar.zst WarpX-d67030eb709d965672a9900132d0085922335cc1.zip |
SyncCurrent: Disable Tiling for GPU
Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
Diffstat (limited to 'Source/Parallelization/WarpXComm.cpp')
-rw-r--r-- | Source/Parallelization/WarpXComm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Parallelization/WarpXComm.cpp b/Source/Parallelization/WarpXComm.cpp index 22fa4820e..40f8203a9 100644 --- a/Source/Parallelization/WarpXComm.cpp +++ b/Source/Parallelization/WarpXComm.cpp @@ -361,10 +361,10 @@ WarpX::SyncCurrent (const std::array<const amrex::MultiFab*,3>& fine, #pragma omp parallel if (Gpu::notInLaunchRegion()) #endif { - FArrayBox ffab; // contiguous, temporary, copy of the tiled fine patch to read from for (int idim = 0; idim < fine.size(); ++idim) // j-field components { - for (MFIter mfi(*coarse[idim],true); mfi.isValid(); ++mfi) // OMP in-box decomposition of coarse into tilebox + // OMP in-box decomposition of coarse into tilebox + for (MFIter mfi(*coarse[idim], TilingIfNotGPU()); mfi.isValid(); ++mfi) { const Box& bx = mfi.growntilebox(ng); // only grow to outer directions of tileboxes for filling guards |