Closed
Description
Line 486 in b879148
The syntax of ATOMIC directive on OpenMP 5.0 specs is that: #pragma amp atomic [clause11, clause12, ...] atomic-clause [clause21, clause22, ...];
.
Currently our implementation mixes the two clause portions together, which is separated by atomic-clause
. e.g. atomic hint(x) capture
and atomic capture hint(x)
would be the same.
It's still unclear whether those two portions can be mixed together or not. The implementation is kept for now. Before release, we should check it again and make the final decision.