-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add fast-path logic to some libcudf regex APIs #22178
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
Merged
Merged
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
620bc2d
Add fast-path logic to some libcudf regex APIs
davidwendt 1cec387
Merge branch 'main' into regex-fast-paths
davidwendt 510787e
Merge branch 'main' into regex-fast-paths
davidwendt e99504b
update benchmarks
davidwendt b5a614a
redo fast-path check member function
davidwendt 408aeba
Merge branch 'main' into regex-fast-paths
davidwendt 76837a4
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 87f73ba
Merge branch 'main' into regex-fast-paths
davidwendt 8368b4b
Merge branch 'main' into regex-fast-paths
davidwendt b62fb79
Merge branch 'main' into regex-fast-paths
davidwendt f4e115f
Merge branch 'main' into regex-fast-paths
davidwendt c436da0
Merge branch 'main' into regex-fast-paths
davidwendt 949d9b5
fix while CHAR logic for embedded nulls
davidwendt 1dcd12f
Merge branch 'main' into regex-fast-paths
davidwendt cf3d04b
Merge branch 'main' into regex-fast-paths
davidwendt 79102fe
Merge branch 'main' into regex-fast-paths
davidwendt 282935d
add count fast-path
davidwendt a074ee7
Merge branch 'main' into regex-fast-paths
davidwendt 9d6e1e0
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt cfb7635
Merge branch 'main' into regex-fast-paths
davidwendt 475b086
Merge branch 'main' into regex-fast-paths
davidwendt 52ed43b
Merge branch 'main' into regex-fast-paths
davidwendt 96c38d2
Merge branch 'main' into regex-fast-paths
davidwendt a39feab
Merge branch 'main' into regex-fast-paths
davidwendt e548e15
add fp replace; fix count tests
davidwendt 1b18450
Merge branch 'main' into regex-fast-paths
davidwendt 79cc8e0
fix linter violations
davidwendt a0dfdff
Merge branch 'main' into regex-fast-paths
davidwendt 11cd7ca
Merge branch 'main' into regex-fast-paths
davidwendt b82f8e6
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 9c44470
Merge branch 'main' into regex-fast-paths
davidwendt f4cd92b
add nodiscard
davidwendt 4be7dba
Merge branch 'main' into regex-fast-paths
davidwendt f7ded86
Merge branch 'main' into regex-fast-paths
davidwendt 1cad01c
Merge branch 'main' into regex-fast-paths
davidwendt 1f7d6b0
Merge branch 'main' into regex-fast-paths
davidwendt 65b64df
Merge branch 'main' into regex-fast-paths
davidwendt 4a5535f
Merge branch 'main' into regex-fast-paths
davidwendt 82942d1
combine literal-fast-path logic
davidwendt 3c1a831
Merge branch 'main' into regex-fast-paths
davidwendt bdb95aa
Merge branch 'main' into regex-fast-paths
davidwendt 98d9298
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt e5ad645
Merge branch 'main' into regex-fast-paths
davidwendt 4911f4e
Merge branch 'main' into regex-fast-paths
davidwendt bf0a24b
Merge branch 'main' into regex-fast-paths
davidwendt a5d457d
Merge branch 'main' into regex-fast-paths
davidwendt 4f753b8
Merge branch 'main' into regex-fast-paths
davidwendt 97c7bde
fix merge conflicts
davidwendt efe3c9b
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 6b68167
Merge branch 'main' into regex-fast-paths
davidwendt a922d71
Merge branch 'main' into regex-fast-paths
davidwendt 84fe5fc
Merge branch 'main' into regex-fast-paths
davidwendt 9ca6a64
Merge branch 'main' into regex-fast-paths
davidwendt 285b735
Merge branch 'main' into regex-fast-paths
davidwendt 61d17cc
Merge branch 'main' into regex-fast-paths
davidwendt 1ad51c4
Merge branch 'main' into regex-fast-paths
davidwendt 41d1481
Merge branch 'main' into regex-fast-paths
davidwendt 8e36390
add fast-path for split_re
davidwendt fb51e77
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 7a6490b
Merge branch 'main' into regex-fast-paths
davidwendt 5e94779
Merge branch 'main' into regex-fast-paths
davidwendt 7535bb0
fix merge conflicts
davidwendt 38ebe30
Merge branch 'main' into regex-fast-paths
davidwendt ab87830
exper: test_java_settings.xml
davidwendt 95033f2
exper: fix path to test_java_settings.xml
davidwendt 5410a4d
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 66768d7
Merge branch 'main' into regex-fast-paths
davidwendt baf1ad9
Merge branch 'main' into regex-fast-paths
davidwendt 259c9ce
Merge branch 'main' into regex-fast-paths
davidwendt a69a88a
Merge branch 'main' into regex-fast-paths
davidwendt 11cfb14
Merge branch 'main' into regex-fast-paths
davidwendt 3c49387
Merge branch 'main' into regex-fast-paths
davidwendt 210e0b8
fix match_re fast-path logic
davidwendt fd5eeda
Merge branch 'main' into regex-fast-paths
davidwendt 81ef526
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 8486a04
Merge branch 'main' into regex-fast-paths
davidwendt 012159b
Merge branch 'main' into regex-fast-paths
davidwendt 806030d
fix merge conflict
davidwendt cfe8e8f
fix merge conflict II
davidwendt 71a7d4a
fix copyrights
davidwendt acbf7e8
Merge branch 'regex-fast-paths' of github.com:davidwendt/cudf into re…
davidwendt 0b97d1a
Merge branch 'main' into regex-fast-paths
davidwendt 755fa44
Merge branch 'main' into regex-fast-paths
davidwendt a4b4e34
Merge branch 'main' into regex-fast-paths
davidwendt 9aca9cb
Merge branch 'main' into regex-fast-paths
davidwendt 66e5422
Merge branch 'main' into regex-fast-paths
davidwendt 4715813
Merge branch 'main' into regex-fast-paths
davidwendt 110837d
Merge branch 'main' into regex-fast-paths
davidwendt 144ad72
Merge branch 'main' into regex-fast-paths
davidwendt b2adf2a
Merge branch 'main' into regex-fast-paths
davidwendt b8481af
Merge branch 'main' into regex-fast-paths
davidwendt aa0c5f7
Merge branch 'main' into regex-fast-paths
davidwendt 2951b25
fix EOL logic; remove split fast-path
davidwendt fae9116
really undo changes to split
davidwendt b98ea54
remove defaults from details functions
davidwendt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| /* | ||
| * SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
| #pragma once | ||
|
|
||
| #include <cudf/strings/find.hpp> | ||
|
|
||
| namespace cudf::strings::detail { | ||
|
|
||
| /** | ||
| * @copydoc cudf::strings::contains | ||
| */ | ||
| std::unique_ptr<column> contains(strings_column_view const& input, | ||
| string_scalar const& target, | ||
| rmm::cuda_stream_view stream, | ||
| rmm::device_async_resource_ref mr); | ||
|
|
||
| /** | ||
| * @copydoc cudf::strings::starts_with | ||
| */ | ||
| std::unique_ptr<column> starts_with(strings_column_view const& input, | ||
| string_scalar const& target, | ||
| rmm::cuda_stream_view stream, | ||
| rmm::device_async_resource_ref mr); | ||
|
|
||
| /** | ||
| * @copydoc cudf::strings::ends_with | ||
| */ | ||
| std::unique_ptr<column> ends_with(strings_column_view const& input, | ||
| string_scalar const& target, | ||
| rmm::cuda_stream_view stream, | ||
| rmm::device_async_resource_ref mr); | ||
|
|
||
| /** | ||
| * @copydoc cudf::strings::count | ||
| */ | ||
| std::unique_ptr<column> count(strings_column_view const& input, | ||
| string_scalar const& target, | ||
| rmm::cuda_stream_view stream, | ||
| rmm::device_async_resource_ref mr); | ||
|
|
||
| } // namespace cudf::strings::detail |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.