-
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
Desul: Add ScopeCaller #4690
Desul: Add ScopeCaller #4690
Conversation
c7beded
to
d743d06
Compare
Corresponding PR in Desul: desul/desul#50 Note I applied desul clang-format too |
d743d06
to
aa9bb83
Compare
In Serial only builds Kokkos::atomics will use ScopeCaller
d3367ec
to
16b098a
Compare
1cc02c6
to
2934794
Compare
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.
Would you do the formatting part in a separate PR?
// error: large atomic operation may incur significant performance penalty | ||
// [-Werror,-Watomic-alignment] https://godbolt.org/z/G7YhqhbG6 |
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.
// error: large atomic operation may incur significant performance penalty | |
// [-Werror,-Watomic-alignment] https://godbolt.org/z/G7YhqhbG6 | |
// clang-format off | |
// error: large atomic operation may incur significant performance penalty [-Werror,-Watomic-alignment] | |
// clang-format on | |
// https://godbolt.org/z/G7YhqhbG6 |
Uggg. Did we merge that into Desul?
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.
yeah
2934794
to
875366f
Compare
875366f
to
496c02d
Compare
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.
I'd prefer if you submitted the changes to <desul/atomics/Generic.hpp>
in another PR
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.
Looks OK to me (despite that the name feels unintuitive at least for the current use case to me). We at least have the Windows build and the OSX builds to test this.
7ef8a7f
to
496c02d
Compare
I'll cut you a deal. I close my eyes and merge this PR as is and you agree to split up your PR on the Desul side. |
Sure Damien :-) |
This is a pull request not an issue and it has been merged. |
In Serial only builds Kokkos::atomics will use ScopeCaller