Skip to content

Commit

Permalink
added amrex::Gpu::synchronize(); to qdmsc particle container functions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacc95 committed Feb 23, 2025
1 parent f0b8c9e commit 3c98f7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Fluids/QdsmcParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ QdsmcParticleContainer::SetV (int lev,
});
}
// add synchronize here?

amrex::Gpu::synchronize();
}


Expand Down Expand Up @@ -330,6 +332,8 @@ QdsmcParticleContainer::SetK (int lev,
});
}
// add synchronize here?

amrex::Gpu::synchronize();
}


Expand Down

0 comments on commit 3c98f7d

Please sign in to comment.