Skip to content
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

Expose stream parameter in public strings replace APIs #14261

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

davidwendt
Copy link
Contributor

Description

Add stream parameter to public APIs:

  • cudf::strings::replace() (x2)
  • cudf::strings::replace_slice()
  • cudf::strings::replace_re() (x2)
  • cudf::strings::replace_with_backrefs()

Also cleaned up some of the doxygen comments and added stream-tests.

Reference #13744

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. strings strings issues (C++ and Python) improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 9, 2023
@davidwendt davidwendt self-assigned this Oct 9, 2023
@github-actions github-actions bot added the CMake CMake build issue label Oct 9, 2023
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Oct 9, 2023
@davidwendt davidwendt marked this pull request as ready for review October 10, 2023 11:47
@davidwendt davidwendt requested a review from a team as a code owner October 10, 2023 11:47
@hyperbolic2346
Copy link
Contributor

So will the paradigm change in cudf to pulling out the detail namespace implementation into the main namespace since we no longer have the stream and mr hidden or will we keep the redirection into the detail namespace?

@davidwendt
Copy link
Contributor Author

So will the paradigm change in cudf to pulling out the detail namespace implementation into the main namespace since we no longer have the stream and mr hidden or will we keep the redirection into the detail namespace?

No, the public APIs will continue to have the nvtx range calls to help with profiling.
#14263 (comment)

@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit fa4e8ab into rapidsai:branch-23.12 Oct 12, 2023
57 checks passed
@davidwendt davidwendt deleted the stream-strings-replace branch October 12, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change strings strings issues (C++ and Python)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants