Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new primitives: compute_in|out_degrees, compute_in|out_weight_sums to graph_view_t #1394

Merged
merged 10 commits into from
Feb 25, 2021
Prev Previous commit
Next Next commit
bug fix
  • Loading branch information
seunghwak committed Feb 12, 2021
commit dc00022d855e0a721779f2f0e9199adaecb97536
4 changes: 2 additions & 2 deletions cpp/src/experimental/graph_view.cu
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ rmm::device_uvector<edge_t> compute_minor_degrees(
[] __device__(vertex_t src, vertex_t dst, weight_t w, auto src_val, auto dst_val) {
return edge_t{1};
},
edge_t{1},
edge_t{0},
minor_degrees.data());
} else {
copy_v_transform_reduce_in_nbr(
Expand All @@ -102,7 +102,7 @@ rmm::device_uvector<edge_t> compute_minor_degrees(
[] __device__(vertex_t src, vertex_t dst, weight_t w, auto src_val, auto dst_val) {
return edge_t{1};
},
edge_t{1},
edge_t{0},
minor_degrees.data());
}

Expand Down