Some compiler treat `acc routine` without a parallelism clause as if seq is present. Relax the parser rule to allow acc routine without clause. The default clause will be handled in lowering. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D153896
520 B
520 B
OpenACC in Flang
.. contents::
:local:
Intentional deviation from the specification
- The end directive for combined construct can omit the
loopkeyword. - An
!$acc routinewith no parallelism clause is treated as if theseqclause was present.