From a1272e20b4be3e739dd95eb8329cdd810f61d8be Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Fri, 24 Jul 2015 21:19:42 +0000 Subject: [PATCH] [OPENMP] Info in release notes about OpenMP support in clang. 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index c6dc6aa8ba..288eb0314a 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -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 `_ or `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 -------------------- -- 2.50.1