diff --git a/cpp/src/structure/graph_view_impl.cuh b/cpp/src/structure/graph_view_impl.cuh index 0d75cd23a83..2a19bf4dc70 100644 --- a/cpp/src/structure/graph_view_impl.cuh +++ b/cpp/src/structure/graph_view_impl.cuh @@ -498,6 +498,8 @@ edge_t graph_view_t(detail::count_set_bits(handle, value_firsts[i], edge_counts[i])); } + ret = + host_scalar_allreduce(handle.get_comms(), ret, raft::comms::op_t::SUM, handle.get_stream()); return ret; } else { return this->number_of_edges_;