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

Expose raft::handle_t in the public header #1192

Merged
merged 4 commits into from
Feb 4, 2023

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jan 26, 2023

#1140 migrated raft to using device_resources instead of handle_t everywhere internally, but it was not intended to be a breaking change since handle_t inherits from device_resources. However, include/handle.hpp was changed to include device_resources.hpp instead of core/handle.hpp, which is a breaking change since it means that downstream projects now need to include core/handle.hpp directly if they want access to handle_t. While that change may be desired eventually, I do not think that enforcing that requirement was an intended consequence of the change right now.

@vyasr vyasr added bug Something isn't working 3 - Ready for Review non-breaking Non-breaking change labels Jan 26, 2023
@vyasr vyasr requested a review from a team as a code owner January 26, 2023 17:38
@vyasr vyasr self-assigned this Jan 26, 2023
@github-actions github-actions bot added the cpp label Jan 26, 2023
@vyasr
Copy link
Contributor Author

vyasr commented Jan 26, 2023

Both cuML and cuGraph CI is blocked on this change, as can be seen in some of the failures on rapidsai/cuml#5165 (see this build log) and rapidsai/cugraph#3189 (see this build log).

@vyasr
Copy link
Contributor Author

vyasr commented Jan 26, 2023

OK, it looks like both the cuML and cuGraph failures are actually due to slightly different problems. cuML was relying on transitive includes in raft that were no longer applicable after the change, while cuGraph has an embedded copy of some raft Cython code that needed updating for the changes to raft. The change in this PR still seems helpful and necessary for other users of raft, but it no longer appears to be a blocker for the other RAPIDS libraries.

@cjnolet
Copy link
Member

cjnolet commented Jan 26, 2023

@vyasr I do agree that this is a super useful change and I certainly don't mind merging it.

@cjnolet cjnolet changed the base branch from branch-23.02 to branch-23.04 February 3, 2023 21:19
@codecov-commenter
Copy link

codecov-commenter commented Feb 4, 2023

Codecov Report

❗ No coverage uploaded for pull request base (branch-23.04@a39237c). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-23.04    #1192   +/-   ##
===============================================
  Coverage                ?   87.99%           
===============================================
  Files                   ?       21           
  Lines                   ?      483           
  Branches                ?        0           
===============================================
  Hits                    ?      425           
  Misses                  ?       58           
  Partials                ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cjnolet
Copy link
Member

cjnolet commented Feb 4, 2023

/merge

@rapids-bot rapids-bot bot merged commit a426bc9 into rapidsai:branch-23.04 Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

3 participants