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

Replace thrust::min/max with cuda::std::min/max #4871

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

seunghwak
Copy link
Contributor

cuda::std::min/max is a more C++ standard conformant way of computing min/max of two values than thrust::min/max.

We are using cuda::std::min/max in the src directory but thrust::min/max is still used in some files under the test directory.

This PR replaces thrust::min/max calls in the test directory with cuda::std::min/max.

@seunghwak seunghwak requested a review from a team as a code owner January 17, 2025 18:14
@seunghwak seunghwak self-assigned this Jan 17, 2025
@seunghwak seunghwak added this to the 25.02 milestone Jan 17, 2025
@seunghwak seunghwak added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 17, 2025
Copy link
Collaborator

@ChuckHastings ChuckHastings left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like CI wants a different order for the header files.

@ChuckHastings
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit a9c923b into rapidsai:branch-25.02 Jan 21, 2025
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuGraph improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants