-
Notifications
You must be signed in to change notification settings - Fork 173
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
[DO NOT MERGE] optimize and clean bit functions #3226
base: main
Are you sure you want to change the base?
Conversation
@@ -30,124 +30,106 @@ | |||
|
|||
_LIBCUDACXX_BEGIN_NAMESPACE_STD | |||
|
|||
_LIBCUDACXX_HIDE_FROM_ABI constexpr int __binary_clz2(uint64_t __x, int __c) |
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.
We cannot break user code that relies on those being constexpr in C++11, even if we have deprecated it
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.
agree. This is the reason I added [DO NOT MERGE]. The PR is intended for the next major update.
(partially) Fixes #2239
Description
Optimize and cleanup the following functions:
Run-time optimizations are described in #2239.
Cleanup:
constexpr
to avoid several function instantiations_CCCL_NODISCARD
to all functionsAdd__detail
namespaceDO NOT MERGE