[OpenMP] Change OpenMP default version in documentation and help text for -fopenmp-version

As discussed on the weekly OpenMP meeting on the second of August 2023, the default version
in the OpenMP documentation shoud be changed from OpenMP 5.0 to 5.1.

Differential Revision: https://reviews.llvm.org/D156901
This commit is contained in:
Anton Rydahl
2023-08-28 19:03:26 -07:00
committed by antonrydahl
parent 446f3c23a4
commit c1b5674fbb
5 changed files with 9 additions and 7 deletions

View File

@@ -37,8 +37,7 @@ Use the static OpenMP host runtime while linking.
^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the OpenMP version to a specific version ``<arg>`` of the OpenMP standard.
For example, you may use ``-fopenmp-version=45`` to select version 4.5 of
the OpenMP standard. The default value is ``-fopenmp-version=50`` for ``Clang``
and ``-fopenmp-version=11`` for ``flang-new``.
the OpenMP standard. The default value is ``-fopenmp-version=51`` for ``Clang``.
.. _offload_command_line_arguments: