Skip to content

Commit

Permalink
cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Apr 18, 2024
1 parent c95509b commit 3bf7a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ void MetaInfo::SetFeatureInfo(const char* key, const char **info, const bst_ulon
auto gather_columns = [is_col_split, key, n_columns = this->num_col_](auto const& inputs) {
if (is_col_split) {
std::remove_const_t<std::remove_reference_t<decltype(inputs)>> result;
auto rc = collective::AllgatherStrings(*collective::GlobalCommGroup(), inputs, &result);
auto rc = collective::AllgatherStrings(inputs, &result);
collective::SafeColl(rc);
CHECK_EQ(result.size(), n_columns)
<< "Length of " << key << " must be equal to number of columns.";
Expand Down

0 comments on commit 3bf7a7f

Please sign in to comment.