Skip to content

Commit

Permalink
switch to allgatherV for encrypted message with varying lenghts
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyueXu77 committed Apr 15, 2024
1 parent 30b7ed5 commit a3ddf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree/hist/histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class HistogramBuilder {
// Perform AllGather
auto hist_vec = std::vector<std::int8_t>(hist_data.data(),
hist_data.data() + hist_data.size());
auto hist_entries = collective::Allgather(hist_vec);
auto hist_entries = collective::AllgatherV(hist_vec);
// Call interface here to post-process the messages
std::vector<double> hist_aggr = processor_instance->HandleAggregation(hist_entries.data(), hist_entries.size());

Expand Down

0 comments on commit a3ddf7d

Please sign in to comment.