Skip to content

Commit

Permalink
#2382: ccm-lb: fix some compile-time issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Dec 23, 2024
1 parent 77190a3 commit 56338f7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/vt/vrt/collection/balance/temperedlb/temperedlb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,9 @@ void TemperedLB::readClustersMemoryData() {
}

ClusterInfo TemperedLB::makeClusterSummary(SharedIDType shared_id) {
auto const this_node = theContext()->getNode();
auto const& [home_node, shared_volume] = shared_block_edge_[shared_id];
auto const shared_bytes = shared_block_size_[shared_id]
auto const shared_bytes = shared_block_size_[shared_id];

ClusterInfo info;
info.bytes = shared_bytes;
Expand Down Expand Up @@ -763,8 +764,6 @@ ClusterInfo TemperedLB::makeClusterSummary(SharedIDType shared_id) {
void TemperedLB::computeClusterSummary() {
cur_clusters_.clear();

auto const this_node = theContext()->getNode();

for (auto const& [shared_id, _] : shared_block_size_) {
auto info = makeClusterSummary(shared_id);
cur_clusters_.emplace(shared_id, std::move(info));
Expand Down Expand Up @@ -2495,7 +2494,7 @@ void TemperedLB::giveCluster(

auto id = give_shared_blocks_size.begin()->first;
auto info = makeClusterSummary(id);
cur_clusters_.emplace(id, std::move(info))
cur_clusters_.emplace(id, std::move(info));

//computeClusterSummary();
this_new_breakdown_ = computeWorkBreakdown(this_node, cur_objs_);
Expand Down

0 comments on commit 56338f7

Please sign in to comment.