-
Notifications
You must be signed in to change notification settings - Fork 919
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
Remove unneeded includes from cudf::string_view headers #8594
Remove unneeded includes from cudf::string_view headers #8594
Conversation
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.
I don't believe this will behave as expected.
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.
LGTM Apart from the bug Mike caught.
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8594 +/- ##
===============================================
Coverage ? 83.00%
===============================================
Files ? 109
Lines ? 18234
Branches ? 0
===============================================
Hits ? 15136
Misses ? 3098
Partials ? 0 Continue to review full report at Codecov.
|
@gpucibot merge |
This PR makes small improvements for the I/O code. Specifically, - Place type constraint on a template class to allow only for rvalue argument. In addition, replace `std::move` with `std::forward` to make the code more *apparently* consistent with the convention, i.e. use `std::move()` on the rvalue references, and `std::forward` on the forwarding references (Effective modern C++ item 25). - Alleviate (but not completely resolve) an existing cuFile driver close issue by removing the explicit driver close call. See #17121 - Minor typo fix (`struct` → `class`). Authors: - Tianyu Liu (https://github.com/kingcrimsontianyu) Approvers: - Nghia Truong (https://github.com/ttnghia) - Vukasin Milovanovic (https://github.com/vuule) URL: #17105
This PR removes some unnecessary include statements from
string_view.hpp
andstring_view.cuh
. It also includes a#ifdef
to help re-use this class in the https://github.com/rapidsai/strings_udf repo to avoid maintaining a separate string-view class that can be NVRTC compiled with https://github.com/NVIDIA/jitify.Also removing the
VARIABLE_CHAR_WIDTH
constant which is no longer needed and should've been removed in a previous PR.