We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b0a9f7 commit 2ba088bCopy full SHA for 2ba088b
src/vt/vrt/collection/balance/temperedlb/temperedlb.cc
@@ -1008,8 +1008,8 @@ double TemperedLB::computeWorkAfterClusterSwap(
1008
// Remove/add clusters' intra-comm
1009
double const node_intra_send = info.intra_send_vol;
1010
double const node_intra_recv = info.intra_recv_vol;
1011
- node_work -= delta * std::max(node_intra_send, node_intra_recv);
1012
- node_work += delta * std::max(
+ node_work -= gamma * std::max(node_intra_send, node_intra_recv);
+ node_work += gamma * std::max(
1013
node_intra_send - to_remove.intra_send_vol + to_add.intra_send_vol,
1014
node_intra_recv - to_remove.intra_recv_vol + to_add.intra_recv_vol
1015
);
0 commit comments