-
Notifications
You must be signed in to change notification settings - Fork 483
GPU: Better workaround for clang problem with static constexpr members of references #14269
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
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
|
Error while checking build/O2/fullCI_slc9 for 7fa0a86 at 2025-05-14 17:39: Full log here. |
This reverts commit 89b35ba.
7fa0a86 to
a4240d7
Compare
Previous workaround just removed the constexpr optimization for clang.
This new version uses some template magic, which works with clang and c++20.
Unfortunately, does not work for OpenCL, which is at c++17, nothing we can do.
With c++23, we will be able to revert this, and just access the reference directly.