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

Use test default stream #13506

Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jun 2, 2023

Description

For the purpose of verifying that streams are properly forwarded through all libcudf APIs, libcudf tests will be rewritten to use cudf::test::get_default_stream() (introduced in #12089) instead of cudf::get_default_stream(). By default, these are identical, so this change is typically a no-op, but when using the preload library features added in #12089 we will be able to use a custom (non CUDA-default) stream in tests and verify that it is the only stream used. This PR contains a subset of changes needed to existing test functionality without making any changes to libcudf public APIs. These changes are extracted from #12090.

Contributes to #11943.

Checklist

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

@vyasr vyasr added 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 2, 2023
@vyasr vyasr added this to the Enable streams milestone Jun 2, 2023
@vyasr vyasr requested a review from a team as a code owner June 2, 2023 19:51
@vyasr vyasr self-assigned this Jun 2, 2023
@vyasr vyasr requested review from harrism and ttnghia June 2, 2023 19:51
@vyasr vyasr mentioned this pull request Jun 2, 2023
3 tasks
@vyasr
Copy link
Contributor Author

vyasr commented Jun 5, 2023

/merge

@rapids-bot rapids-bot bot merged commit c4818f9 into rapidsai:branch-23.08 Jun 5, 2023
@vyasr vyasr deleted the feat/use_test_default_stream branch June 5, 2023 23:13
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 improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants