-
Notifications
You must be signed in to change notification settings - Fork 76
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
clang error with OpenMP atomic capture compare #2478
Comments
Thanks for pointing us to the issue. |
@krzikalla Is the error triggered by a operator definition within alpaka or is the operator defined in your code base? llvm/llvm-project#127466 (comment) So if you do not define the operator Defining the operator in a higher namespace e.g. the global namespace is producing issues too. |
The operator is defined in a third party AD library, and we don't get to choose where it puts its operators. |
@q-p Thanks for the information. Currently, I do not see how we can work around the compiler bug. I think we must wait until llvm is fixing the issue. |
I'd like to draw your attention on llvm/llvm-project#127466 (comment)
It looks like clang has still serious problems with the
#pragma omp atomic capture compare
construct used in include/alpaka/atomic/AtomicOmpBuiltIn.hpp.I wonder if alpaka can provide a workaround.
The text was updated successfully, but these errors were encountered: