Skip to content

Commit

Permalink
Use SingleStreamRegion and NoSyncRegion in MLMG solve
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Feb 26, 2025
1 parent 06b4a5b commit 96d49c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Src/LinearSolvers/MLMG/AMReX_MLMG.H
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,9 @@ MLMGT<MF>::solve (const Vector<AMF*>& a_sol, const Vector<AMF const*>& a_rhs,
{
BL_PROFILE("MLMG::solve()");

Gpu::SingleStreamRegion single_strean_reg;
Gpu::NoSyncRegion no_sync_reg;

if constexpr (std::is_same<AMF,MultiFab>()) {
if (checkpoint_file != nullptr) {
checkPoint(a_sol, a_rhs, a_tol_rel, a_tol_abs, checkpoint_file);
Expand Down

0 comments on commit 96d49c8

Please sign in to comment.