-
Notifications
You must be signed in to change notification settings - Fork 407
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
MinMax Reducer with tagged operator doesn't compile #1251
Comments
To add to my previous comment, when I made the reproducer, I used the installed version of Kokkos in Trilinos and the Trilinos makefile to define compiler/compiler flags. In the failing sparta builds, I believe sparta is using the Kokkos makefile directly. Not sure that extra info helps? |
Did you compile for OpenMP in your Trilinos version? This particular bug seems to be restricted to OpenMP. The "Incorrect Answer" bug actually effects every backend including Serial. If I were just to fix the compilation issue, this reproducer would run into the other bug and give the wrong answer. |
I’ll check that. I just used the default execution space in Kokkos. I thought I used OpenMP, but maybe not? |
No it is not. Only if you enable OpenMP globally for Trilinos. I also have added a unit test which catches this issues. |
Reproducer:
Error message:
Works after taking away tag.
The text was updated successfully, but these errors were encountered: