Skip to content

Commit cc6dd5d

Browse files
committed
#2382: ccm-lb: fix bug
1 parent b07301e commit cc6dd5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vt/vrt/collection/balance/temperedlb/temperedlb.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2722,7 +2722,7 @@ void TemperedLB::swapClusters() {
27222722
auto remote_block_count = getRemoteBlockCountHere();
27232723
runInEpochCollective("TemperedLB::swapClusters -> compute rejection", [=] {
27242724
proxy_.allreduce<&TemperedLB::rejectionStatsHandler, collective::PlusOp>(
2725-
n_rejected, n_transfers_swap_, remote_block_count, cycle_locks_, iter_time_
2725+
n_rejected, n_transfers_swap_, remote_block_count, cycle_locks_
27262726
);
27272727
proxy_.allreduce<&TemperedLB::maxIterTime, collective::MaxOp>(iter_time_);
27282728
});

src/vt/vrt/collection/balance/temperedlb/temperedlb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ struct TemperedLB : BaseLB {
127127
void loadStatsHandler(std::vector<balance::LoadData> const& vec);
128128
void workStatsHandler(std::vector<balance::LoadData> const& vec);
129129
void rejectionStatsHandler(
130-
int n_rejected, int n_transfers, int n_unhomed_blocks
130+
int n_rejected, int n_transfers, int n_unhomed_blocks, int cycle_count
131131
);
132132
void maxIterTime(double max_iter_time);
133133
void remoteBlockCountHandler(int n_unhomed_blocks);

0 commit comments

Comments
 (0)