Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions flang/docs/OpenACC.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ local:
logical expression.
* `!$acc routine` directive can be placed at the top level.
* `!$acc cache` directive accepts scalar variable.

## Remarks about incompatibilities with other implementations
* Array element references in the data clauses are equivalent to array sections
consisting of this single element, i.e. `copyin(a(n))` is equivalent to
`copyin(a(n:n))`. Some other implementations have treated it as
`copyin(a(:n))`, which does not correspond to OpenACC spec – Flang does not
support this interpretation of an array element reference.