-
Notifications
You must be signed in to change notification settings - Fork 875
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 rmm::device_uvector in place of rmm::device_vector for CSV reader/writer #7805
Use rmm::device_uvector in place of rmm::device_vector for CSV reader/writer #7805
Conversation
…void-device-vector-csv
…void-device-vector-csv
…void-device-vector-csv
…void-device-vector-csv
@@ -180,7 +183,19 @@ std::vector<std::string> setColumnNames(std::vector<char> const &header, | |||
return col_names; | |||
} | |||
|
|||
table_with_metadata reader::impl::read(rmm::cuda_stream_view stream) | |||
template <typename C> | |||
void erase_except_last(C &container, rmm::cuda_stream_view stream) |
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.
pulled this into a separate function because a device lambda cannot be declared in a private function
Added cuIO reviewers. |
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #7805 +/- ##
===============================================
+ Coverage 82.88% 82.94% +0.05%
===============================================
Files 103 103
Lines 17668 17713 +45
===============================================
+ Hits 14645 14692 +47
+ Misses 3023 3021 -2
Continue to review full report at Codecov.
|
…void-device-vector-csv
… into avoid-device-vector-csv
rerun tests |
@gpucibot merge |
Issue #7287
Replaces
device_vector
withdevice_uvector
anddevice_span
. Removed thedevice_vector
data members.Performance impact:
up to 10% slower, will look into this.None