mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
[flang][acc][NFC] Add deviation to the spec that declaring the same variable is permitted (#148288)
OpenACC spec says `A var may appear at most once in all the clauses of declare directives for a function, subroutine, program, or module.` but our implementation allows it with a warning generated. Add this to the diviation list for record.
This commit is contained in:
committed by
GitHub
parent
19b2dd9d79
commit
ada514b0af
@@ -27,6 +27,9 @@ local:
|
||||
* `!$acc cache` directive accepts scalar variable.
|
||||
* The `!$acc declare` directive accepts assumed size array arguments for
|
||||
`deviceptr` and `present` clauses.
|
||||
* The OpenACC specification disallows a variable appearing multiple times in
|
||||
clauses of `!$acc declare` directives for a function, subroutine, program,
|
||||
or module, but it is allowed with a warning when same clause is used.
|
||||
|
||||
## Remarks about incompatibilities with other implementations
|
||||
* Array element references in the data clauses are equivalent to array sections
|
||||
|
||||
Reference in New Issue
Block a user