Skip to content

Commit

Permalink
#649: BaseLB: ensure asynchronous work runs in correct epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Jul 28, 2020
1 parent 0bead12 commit f7ca546
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/vt/vrt/collection/balance/baselb/baselb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@ void BaseLB::startLB(

importProcessorData(in_comm_stats);

term::TerminationDetector::Scoped::collective(
[this] { computeStatistics(); },
[this] { finishedStats(); }
);
runInEpochCollective([this] { computeStatistics(); });
runInEpochCollective([this] { finishedStats(); });
}

BaseLB::LoadType BaseLB::loadMilli(LoadType const& load) const {
Expand Down

0 comments on commit f7ca546

Please sign in to comment.