-
Notifications
You must be signed in to change notification settings - Fork 915
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 stream and memory-resource parameters to struct-scalar copy ctor #8901
Add stream and memory-resource parameters to struct-scalar copy ctor #8901
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #8901 +/- ##
================================================
- Coverage 10.67% 10.59% -0.09%
================================================
Files 110 116 +6
Lines 18271 19043 +772
================================================
+ Hits 1951 2017 +66
- Misses 16320 17026 +706
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.
Nice simplification of the offsets calc, and +1 for removing includes from the tests.
@gpucibot merge |
Investigating issue #8883 I found the
cudf::struct_scalar
copy constructor does not take a stream or memory resource parameter like the other scalar copy constructors. This PR adds the appropriate signature and implementation.Also found usage of
thrust::device_pointer_cast
being used in strings concatenate specialization to get values from an offsets column. This PR changed those to usecudf::detail::get_value
instead to honor the current stream.