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

[FEA]: Add cuda::std::minmax #3243

Open
1 task done
PointKernel opened this issue Jan 6, 2025 · 2 comments
Open
1 task done

[FEA]: Add cuda::std::minmax #3243

PointKernel opened this issue Jan 6, 2025 · 2 comments
Labels
feature request New feature or request.

Comments

@PointKernel
Copy link
Member

Is this a duplicate?

Area

libcu++

Is your feature request related to a problem? Please describe.

We would like CCCL to add cuda::std::minmax, similar to how cuda::std::min and cuda::std::max correspond to std::min and std::max.
Originally posted by @bdice in rapidsai/cudf#17647 (comment)

https://godbolt.org/z/YcGEG886Y

Describe the solution you'd like

One straightforward approach is to combine the outputs of cuda::std::min and cuda::std::max.

Describe alternatives you've considered

No response

Additional context

No response

@bdice
Copy link
Contributor

bdice commented Jan 6, 2025

@miscco
Copy link
Collaborator

miscco commented Jan 7, 2025

We already have that implemented in <cuda/std/__algorithm/minmax.h> However, it is not officially available because we do not want to ship incomplete algorithm support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
Status: Todo
Development

No branches or pull requests

3 participants