Skip to content

Commit

Permalink
remove processor from another PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyueXu77 committed Apr 1, 2024
1 parent d881d84 commit 2997cf7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 352 deletions.
134 changes: 0 additions & 134 deletions src/processing/plugins/dummy_processor.cc

This file was deleted.

44 changes: 0 additions & 44 deletions src/processing/plugins/dummy_processor.h

This file was deleted.

111 changes: 0 additions & 111 deletions src/processing/processor.h

This file was deleted.

62 changes: 0 additions & 62 deletions src/processing/processor_loader.cc

This file was deleted.

4 changes: 3 additions & 1 deletion src/tree/hist/histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class HistogramBuilder {
bool is_col_split_{false};
bool is_secure_{false};
xgboost::common::Span<std::int8_t> hist_data;

public:
/**
* @brief Reset the builder, should be called before growing a new tree.
Expand Down Expand Up @@ -213,7 +214,8 @@ class HistogramBuilder {
std::size_t n = n_total_bins * nodes_to_build.size() * 2;

// Perform AllGather
auto hist_vec = std::vector<std::int8_t>(hist_data.data(), hist_data.data() + hist_data.size());
auto hist_vec = std::vector<std::int8_t>(hist_data.data(),
hist_data.data() + hist_data.size());
auto hist_entries = collective::Allgather(hist_vec);
// Call interface here to post-process the messages
auto hist_span = common::Span<std::int8_t>(hist_entries.data(), hist_entries.size());
Expand Down

0 comments on commit 2997cf7

Please sign in to comment.