-
Notifications
You must be signed in to change notification settings - Fork 917
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
Enable text build without relying on relaxed constexpr #17647
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
auto const [n, m] = std::minmax(str_length, tgt_length); | ||
auto begin = str_length < tgt_length ? d_str.begin() : d_tgt.begin(); | ||
auto itr = str_length < tgt_length ? d_tgt.begin() : d_str.begin(); | ||
auto const n = cuda::std::min(str_length, tgt_length); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we open an issue requesting minmax in libcudacxx and link it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NVIDIA/cccl#3243 done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be cuda::std::minmax if one included <cuda/std/__algorithm/minmax.h>
( We are not done with porting all algorithms aka sorting algorithms are missing) and we do not feel comfortable officially exposing algorithm without it
/merge |
c4f2e8e
into
rapidsai:branch-25.02
Description
Contributes to #7795
This PR updates
text
to build without depending on the relaxed constexpr build option.Checklist