[PATCH] D95469: [flang][openacc] Allow multiple wait clauses
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 23:50:19 PST 2021
kiranchandramohan added inline comments.
================
Comment at: flang/test/Semantics/OpenACC/acc-data.f90:62
!$acc enter data create(aa) wait(wait1)
----------------
SouraVX wrote:
> Looking at it, I assume `wait1` is an event of some kind ? That `data create` directive is waiting for finishing ?
> Then again where is `wait1` defined ?
> Could you point me to the spec WRT this clause.
Spec: https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.1-final.pdf
In Section 2.16.2 it says "If there is an argument to the wait clause, it must be a wait argument (See 2.16.3)."
Section 2.16.3/Page 80
```
The wait argument, if it appears, must be a wait-argument where wait-argument is:
[ devnum : int-expr : ] [ queues : ] int-expr-list
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95469/new/
https://reviews.llvm.org/D95469
More information about the llvm-commits
mailing list