-
Notifications
You must be signed in to change notification settings - Fork 917
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
Convert tests to use device_uvector #8205
Conversation
…r than std::vector
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #8205 +/- ##
===============================================
- Coverage 82.88% 82.88% -0.01%
===============================================
Files 103 104 +1
Lines 17668 17907 +239
===============================================
+ Hits 14645 14843 +198
- Misses 3023 3064 +41
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.
Overall looks great!
@gpucibot merge |
Converts all remaining tests to use device_uvector instead of device_vector.
Contributes to #7287
Also converts a lot of
std::vector
in tests tothrust::host_vector
to avoid problems withvector<bool>
.Adds a new utility
cudf::detail::make_host_vector_async
(and sync version) which creates athrust::host_vector<T>
from adevice_span
. Also makes it possible to create ahost_span
from astd::string
.