-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename strings/array_tests.cu to strings/array_tests.cpp (#9480)
This PR renames `cpp/tests/strings/array_tests.cu` to `.cpp` file and cleans up several test cases. The gtests that required a `.cu` extension called the `cudf::strings::detail::scatter` function directly. This was created when `cudf::scatter` had not yet supported strings columns. Changing this to just calling `cudf::scatter` allows removing device code dependencies. Also, the `GatherTooBig` test case was taking over 16s to run. Too much time was spent building fake data to just verify an exception. This PR fixes the fake data (which is never actually read) to speed up it's creation. Finally, this PR includes removing the `hash_string.cu` since it is redundant with the `hashing/hash_test.cpp` which already covers strings inputs. The `hash_string.cu` had been created before strings support was added to `cudf::hash`. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Nghia Truong (https://github.com/ttnghia) - Mark Harris (https://github.com/harrism) URL: #9480
- Loading branch information
1 parent
919fedf
commit 52b7a9e
Showing
3 changed files
with
36 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.