Skip to content

Commit

Permalink
Revert tiling change in #1655 (#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers authored Dec 19, 2020
1 parent 875ebff commit c8cdfa6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Src/Particle/AMReX_ParticleContainerI.H
Original file line number Diff line number Diff line change
Expand Up @@ -2074,16 +2074,12 @@ AssignCellDensitySingleLevel (int rho_index,

using ParConstIter = ParConstIter<NStructReal, NStructInt, NArrayReal, NArrayInt>;

MFItInfo info;
if (TilingIfNotGPU()) {
info.EnableTiling(tile_size);
}
#ifdef _OPENMP
#pragma omp parallel if (Gpu::notInLaunchRegion())
#endif
{
FArrayBox local_rho;
for (ParConstIter pti(*this, lev, info); pti.isValid(); ++pti) {
for (ParConstIter pti(*this, lev); pti.isValid(); ++pti) {
const auto& particles = pti.GetArrayOfStructs();
const auto pstruct = particles().data();
const Long np = pti.numParticles();
Expand Down

0 comments on commit c8cdfa6

Please sign in to comment.