Skip to content

Clause order in ATOMIC directive #35

Closed
@ouankou

Description

atomic_directive : ATOMIC {

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.

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions