Repository navigation
Refactor strings column factories - #7397
Conversation
…n factories to use them
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #7397 +/- ##
===============================================
+ Coverage 81.80% 82.26% +0.45%
===============================================
Files 101 101
Lines 16695 17244 +549
===============================================
+ Hits 13658 14185 +527
- Misses 3037 3059 +22
Continue to review full report at Codecov.
|
| 0, | ||
| stream); | ||
| auto repl = make_strings_column(cudf::detail::make_device_uvector_async(repl_chars, stream), | ||
| cudf::detail::make_device_uvector_async(repl_offsets, stream), |
There was a problem hiding this comment.
Since _chars and _offsets are always the same, can we move them to a broader scope to avoid needing stream synchronization?
|
@cwharris what changes are you requesting? |
davidwendt
left a comment
There was a problem hiding this comment.
Some of the files need 2021 added to their copyright line.
Thanks. Done. |
|
rerun tests |
|
@harrism you addressed my concerns. 👍 |
|
@gpucibot merge |
This PR refactors strings column factories to eliminate the use of
device_vectorandstd::vectorparameters, and to facility more use ofdevice_uvectorin calls to the factories. This is a small part of #7287 . Multiple versions ofmake_strings_columnstakedevice_vectorparameters. This PR expands the use of iterator anddevice_spanversions to enable switching todevice_uvectoras described in #7287. It also adds newmake_device_uvector_async/syncutility functions.This will help facilitate safe CUDA stream usage.