-
Notifications
You must be signed in to change notification settings - Fork 316
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
Added pylibcugraph
utility for setting up return array values
#2060
Added pylibcugraph
utility for setting up return array values
#2060
Conversation
…* C APIs to cupy arrays into a utility function.
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #2060 +/- ##
===============================================
Coverage ? 73.55%
===============================================
Files ? 156
Lines ? 10295
Branches ? 0
===============================================
Hits ? 7573
Misses ? 2722
Partials ? 0 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a good idea to expand utils.pyx for future wrappers, so this looks great
Tests failed because cudf raised an ImportError due to a missing symbol. Rerunning to get the latest cudf build. rerun tests |
@gpucibot merge |
Refactored common code that copies device arrays returned by
cugraph_*
C APIs to cupy arrays into a utility function. This eliminates a significant amount of repeated code, and will be especially helpful as newpylibcugraph
APIs are added that copy the existing patterns.Tested by running existing
pylibcugraph
unit tests.