Skip to content

Commit

Permalink
#2382: ccm-lb: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Dec 23, 2024
1 parent 71f0ea5 commit 6cc5fd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/temperedlb/temperedlb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2722,7 +2722,7 @@ void TemperedLB::swapClusters() {
auto remote_block_count = getRemoteBlockCountHere();
runInEpochCollective("TemperedLB::swapClusters -> compute rejection", [=] {
proxy_.allreduce<&TemperedLB::rejectionStatsHandler, collective::PlusOp>(
n_rejected, n_transfers_swap_, remote_block_count, cycle_locks_, iter_time_
n_rejected, n_transfers_swap_, remote_block_count, cycle_locks_
);
proxy_.allreduce<&TemperedLB::maxIterTime, collective::MaxOp>(iter_time_);
});
Expand Down
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/temperedlb/temperedlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ struct TemperedLB : BaseLB {
void loadStatsHandler(std::vector<balance::LoadData> const& vec);
void workStatsHandler(std::vector<balance::LoadData> const& vec);
void rejectionStatsHandler(
int n_rejected, int n_transfers, int n_unhomed_blocks
int n_rejected, int n_transfers, int n_unhomed_blocks, int cycle_count
);
void maxIterTime(double max_iter_time);
void remoteBlockCountHandler(int n_unhomed_blocks);
Expand Down

0 comments on commit 6cc5fd9

Please sign in to comment.