[Openmp-commits] [PATCH] D156901: [OpenMP] Change OpenMP default version in documentation and help text for --fopenmp-version

Anton Rydahl via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 2 07:57:40 PDT 2023


AntonRydahl added inline comments.


================
Comment at: flang/test/Driver/driver-help.f90:55
 ! HELP-NEXT: -fopenmp-version=<value>
-! HELP-NEXT:                        Set OpenMP version (e.g. 45 for OpenMP 4.5, 50 for OpenMP 5.0). Default value is 50 for Clang and 11 for Flang
+! HELP-NEXT:                        Set OpenMP version (e.g. 45 for OpenMP 4.5, 51 for OpenMP 5.1). Default value is 51 for Clang and 11 for Flang
 ! HELP-NEXT: -fopenmp               Parse OpenMP pragmas and generate parallel code.
----------------
tianshilei1992 wrote:
> Does Flang also switch to 5.1 by default?
As far as I know, `flang` is still OpenMP 1.1 by default but still depends on the same command line options as `clang`. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156901/new/

https://reviews.llvm.org/D156901



More information about the Openmp-commits mailing list