-
Notifications
You must be signed in to change notification settings - Fork 902
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
Use device_uvector, device_span in sort groupby #7523
Use device_uvector, device_span in sort groupby #7523
Conversation
Co-authored-by: Mike Wilson <[email protected]>
rerun tests |
CI is failing due to a segfault in a groupby test. You should verify that none of the places where |
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.
This looks good to me.
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #7523 +/- ##
===============================================
+ Coverage 81.88% 82.40% +0.51%
===============================================
Files 101 101
Lines 16900 17342 +442
===============================================
+ Hits 13838 14290 +452
+ Misses 3062 3052 -10
Continue to review full report at Codecov.
|
rerun tests |
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. Some of these files need their copyright year updated.
@gpucibot merge |
After #7523, on `Debug` builds, one seems to see the following build error: ``` cudf/cpp/src/rolling/grouped_rolling.cu(130): error: no operator "[]" matches these operands operand types are: const cudf::groupby::detail::sort::sort_groupby_helper::index_vector [ int ] ... cudf/cpp/src/rolling/grouped_rolling.cu(130): error: no operator "[]" matches these operands operand types are: const cudf::groupby::detail::sort::sort_groupby_helper::index_vector [ unsigned long ] ``` The offending line has an `assert()` that is only compiled during `Debug` builds. This commit corrects the indexing into `device_uvector`. Authors: - MithunR (@mythrocks) Approvers: - David (@davidwendt) - Nghia Truong (@ttnghia) - Devavret Makkar (@devavret) - Karthikeyan (@karthikeyann) URL: #7633
- Replace device_vector with device_uvector - Replace device_vector const& with device_span<const> Ref. rapidsai#7387 (comment) Authors: - Karthikeyan (@karthikeyann) Approvers: - Mike Wilson (@hyperbolic2346) - David (@davidwendt) URL: rapidsai#7523
Ref. #7387 (comment)