Skip to content

Commit

Permalink
Merge branch 'upstream_pr4001' into fea_number_of_edges_with_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Nov 29, 2023
2 parents 26c02ae + 3e1ce0f commit f6d39e4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions cpp/tests/prims/mg_count_if_e.cu
Original file line number Diff line number Diff line change
Expand Up @@ -156,19 +156,19 @@ class Tests_MGCountIfE
(*mg_renumber_map).size()),
false);

auto sg_graph_view = sg_graph.view();
if (handle_->get_comms().get_rank() == 0) {
auto sg_graph_view = sg_graph.view();

auto sg_vertex_prop = cugraph::test::generate<vertex_t, result_t>::vertex_property(
*handle_,
thrust::make_counting_iterator(sg_graph_view.local_vertex_partition_range_first()),
thrust::make_counting_iterator(sg_graph_view.local_vertex_partition_range_last()),
hash_bin_count);
auto sg_src_prop = cugraph::test::generate<vertex_t, result_t>::src_property(
*handle_, sg_graph_view, sg_vertex_prop);
auto sg_dst_prop = cugraph::test::generate<vertex_t, result_t>::dst_property(
*handle_, sg_graph_view, sg_vertex_prop);
auto sg_vertex_prop = cugraph::test::generate<vertex_t, result_t>::vertex_property(
*handle_,
thrust::make_counting_iterator(sg_graph_view.local_vertex_partition_range_first()),
thrust::make_counting_iterator(sg_graph_view.local_vertex_partition_range_last()),
hash_bin_count);
auto sg_src_prop = cugraph::test::generate<vertex_t, result_t>::src_property(
*handle_, sg_graph_view, sg_vertex_prop);
auto sg_dst_prop = cugraph::test::generate<vertex_t, result_t>::dst_property(
*handle_, sg_graph_view, sg_vertex_prop);

if (handle_->get_comms().get_rank() == 0) {
auto expected_result = count_if_e(
*handle_,
sg_graph_view,
Expand Down

0 comments on commit f6d39e4

Please sign in to comment.