]> granicus.if.org Git - clang/commitdiff
[OPENMP] Info in release notes about OpenMP support in clang.
authorHans Wennborg <hans@hanshq.net>
Fri, 24 Jul 2015 21:19:42 +0000 (21:19 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 24 Jul 2015 21:19:42 +0000 (21:19 +0000)
Add info about completion of OpenMP 3.1 + support for some elements of OpenMP 4.0

Patch by Alexey Bataev!

Differential Revision: http://reviews.llvm.org/D11059

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_37@243164 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index c6dc6aa8ba700f0f07cfc135e39f1dcb64f309cc..288eb0314a6b88aec5db42dec3e61ea234fee254 100644 (file)
@@ -52,6 +52,11 @@ Major New Features
   extension is also enabled when compiling CUDA code, but its use should be
   viewed as an implementation detail that is subject to change.
 
+- Clang 3.7 fully supports OpenMP 3.1 and reported to work on many platforms,
+  including x86, x86-64 and Power. Also, pragma ``omp simd`` from OpenMP 4.0 is
+  supported as well. See below for details.
+
+
 Improvements to Clang's diagnostics
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
@@ -113,6 +118,24 @@ OpenCL C Language Changes in Clang
 
 ...
 
+OpenMP Support
+--------------
+OpenMP 3.1 is fully supported, but disabled by default. To enable it, please use
+``-fopenmp=libomp`` command line option. Your feedback (positive or negative) on
+using OpenMP-enabled clang would be much appreciated; please share it either on
+`cfe-dev <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>`_ or `openmp-dev
+<http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev>`_ mailing lists.
+
+In addition to OpenMP 3.1, several important elements of 4.0 version of the
+standard are supported as well:
+- ``omp simd``, ``omp for simd`` and ``omp parallel for simd`` pragmas
+- atomic constructs
+- ``proc_bind`` clause of ``omp parallel`` pragma
+- ``depend`` clause of ``omp task`` pragma (except for array sections)
+- ``omp cancel`` and ``omp cancellation point`` pragmas
+- ``omp taskgroup`` pragma
+...
+
 Internal API Changes
 --------------------