-
Notifications
You must be signed in to change notification settings - Fork 916
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
Rename some copying_test source files .cu to .cpp #8527
Rename some copying_test source files .cu to .cpp #8527
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8527 +/- ##
===============================================
Coverage ? 82.95%
===============================================
Files ? 109
Lines ? 18226
Branches ? 0
===============================================
Hits ? 15120
Misses ? 3106
Partials ? 0 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.
🔥
@gpucibot merge |
Building libcudf in debug resulted in a compile error introduced by #8527 ``` ../tests/copying/gather_struct_tests.cpp:87:32: error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses] 87 | assert(gather_index >= 0 && gather_index < gather_map.size() || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` This error only shows in a debug build. This PR fixes the this code by applying the parentheses as the error suggests. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Gera Shegalov (https://github.com/gerashegalov) - Nghia Truong (https://github.com/ttnghia) - MithunR (https://github.com/mythrocks) URL: #8554
Found this file can be changed to .cpp by modifying the `TypedColumnTest` to build its test data in the CPU and then cudaMemcpy it to the GPU. The remain ~1000 lines did not require any updates. Only a few `lists_column_wrapper` ctors needed to be corrected as similar to PR #8527. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Nghia Truong (https://github.com/ttnghia) - https://github.com/nvdbaranec - Mark Harris (https://github.com/harrism) URL: #8555
Found these files could be changed from .cu to .cpp while working on a different PR.
This PR renames these files and makes minimal updates (e.g removes unneeded includes of .cuh files) to make these compile and run as .cpp source files.