Files
clang-p2996/flang/docs/OpenACC.md
Valentin Clement 9ed76f3958 [flang][openacc] Relax clause rule on routine directive
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
2023-06-28 09:07:38 -07:00

520 B

OpenACC in Flang

.. contents::
   :local:

Intentional deviation from the specification

  • The end directive for combined construct can omit the loop keyword.
  • An !$acc routine with no parallelism clause is treated as if the seq clause was present.