-
Notifications
You must be signed in to change notification settings - Fork 310
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 core number to the C API #2338
Add core number to the C API #2338
Conversation
Merging commits from Jun 6
Merge commits from Jun 6-15
Merge branch-22.08 into branch-22.08-core
Codecov Report
@@ Coverage Diff @@
## branch-22.08 #2338 +/- ##
================================================
+ Coverage 60.11% 60.15% +0.03%
================================================
Files 102 102
Lines 5155 5157 +2
================================================
+ Hits 3099 3102 +3
+ Misses 2056 2055 -1
Continue to review full report at Codecov.
|
* @param [in] handle Handle for accessing resources | ||
* @param [in] graph Pointer to graph | ||
* @param [in] do_expensive_check A flag to run expensive checks for input arguments (if set to | ||
* `true`). |
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 you forgot the docstring for degree_type?
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.
Fixed
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.
Looks good to me. Reviewed and tested on the Python API
@gpucibot merge |
This addresses parts of #2169, notably the libcugraph_c API for core number, implemented in
src/c_api/core_number.cpp
, with relevant header updates. Testing had been started for the sg variant intests/c_api/core_number_test.c
, though results are currently not matching up with what's expected. Testing for the mg variant intests/c_api/mg_core_number_test.c
has not been started.Also, the pylibcugraph wrapper for core number is included (not tested yet), so this PR can include both APIs or be split into 2 separate PRs, one for each level.