[PATCH] D12152: [OPENMP] Info about OpenMP Support in Users Manual

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 23 22:32:21 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL245823: [OPENMP] Info about OpenMP Support in Users Manual, NFC. (authored by ABataev).

Changed prior to commit:
  http://reviews.llvm.org/D12152?vs=32790&id=32933#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12152

Files:
  cfe/trunk/docs/UsersManual.rst

Index: cfe/trunk/docs/UsersManual.rst
===================================================================
--- cfe/trunk/docs/UsersManual.rst
+++ cfe/trunk/docs/UsersManual.rst
@@ -1852,6 +1852,32 @@
 Objective-C++ Language Features
 ===============================
 
+.. _openmp:
+
+OpenMP Features
+===============
+
+Clang supports all OpenMP 3.1 directives and clauses.  In addition, some
+features of OpenMP 4.0 are supported.  For example, ``#pragma omp simd``,
+``#pragma omp for simd``, ``#pragma omp parallel for simd`` directives, extended
+set of atomic constructs, ``proc_bind`` clause for all parallel-based
+directives, ``depend`` clause for ``#pragma omp task`` directive (except for
+array sections), ``#pragma omp cancel`` and ``#pragma omp cancellation point``
+directives, and ``#pragma omp taskgroup`` directive.
+
+OpenMP support is disabled by default. Use :option:`-fopenmp=libomp` to enable
+it. Support for OpenMP can be disabled with :option:`-fno-openmp`.
+
+Controlling implementation limits
+---------------------------------
+
+.. option:: -fopenmp-use-tls
+
+ Controls code generation for OpenMP threadprivate variables. In presence of
+ this option all threadprivate variables are generated the same way as thread
+ local variables, using TLS support. If :option:`-fno-openmp-use-tls`
+ is provided or target does not support TLS, code generation for threadprivate
+ variables relies on OpenMP runtime library.
 
 .. _target_features:
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12152.32933.patch
Type: text/x-patch
Size: 1468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150824/1de44515/attachment.bin>


More information about the cfe-commits mailing list