Add new cuGraph C++ primitives: extract_transform_(if_)v_frontier_incoming_e, per_v_pair_src_nbr_intersection, per_v_pair_transform_src_nbr_intersection, transform_reduce_src_nbr_intersection_of_e_endpoints_by_v#5519
Merged
Merged
Conversation
…C++ tests for the primitives
Contributor
Author
|
/ok to test 7ff28f8 |
ChuckHastings
approved these changes
May 19, 2026
Contributor
Author
|
/ok to test 409a45b |
Contributor
Author
|
/ok to test 9d32b0b |
jnke2016
approved these changes
May 26, 2026
Collaborator
|
/merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We have
extract_transform_(if_)v_frontier_outgoing_ewhich works on a source major graph (store_transposed = false).Similarly, we have
per_v_pair_dst_nbr_intersection,per_v_pair_transform_dst_nbr_intersection, andtransform_reduce_dst_nbr_intersection_of_e_endpoints_by_v(store_transposed = false).This PR add
extract_transform_(if_)v_frontier_outgoing_ewhich work on a destination major graph (store_transposed = true) andper_v_pair_src_nbr_intersection,per_v_pair_transform_src_nbr_intersection,transform_reduce_src_nbr_intersection_of_e_endpoints_by_v(store_transposed = true).This is breaking because
detail::edge_op_result_typeis updated (include/cugraph/prims/property_op_utils.cuh) and primitive files are renamed (extract_transform_(if_)v_frontier_outgoing_e.cuh=>extract_transform_(if_)v_frontier_incoming_outgoing_e.cuh,per_v_pair_dst_nbr_intersection.cuh=>per_v_pair_src_dst_nbr_intersection.cuh, and so on).This functor (
detail::edge_op_result_type) is updated so we can deduce the return value of an edge operator regardless whether the source is tagged (store_transposed = false) or the destination is tagged (store_transposed = true).