Skip to content

Commit 7bc3101

Browse files
committed
[OpenMP][NFC] Added release note for new deviceRTLs and hidden helper task
Added release note for new `deviceRTLs` and hidden helper task for LLVM 12. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D95584
1 parent 5565092 commit 7bc3101

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

openmp/docs/ReleaseNotes.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ OpenMP 12.0.0 Release Notes
77
These are in-progress notes for the upcoming LLVM 12.0.0 release.
88
Release notes for previous releases can be found on
99
`the Download Page <https://releases.llvm.org/download.html>`_.
10-
10+
1111

1212
Introduction
1313
============
@@ -44,3 +44,27 @@ Non-comprehensive list of changes in this release
4444
``LIBOMPTARGET_INFO`` allows the user to request certain information from the
4545
``libomptarget`` runtime using a 32-bit field. A full description of each
4646
environment variable is described :ref:`here <libopenmptarget_environment_vars>`.
47+
48+
- ``target nowait`` was supported via hidden helper task, which is a task not
49+
bound to any parallel region. A hidden helper team with a number of threads is
50+
created when the first hidden helper task is encountered. The number of threads
51+
can be configured via the environment variable
52+
``LIBOMP_NUM_HIDDEN_HELPER_THREADS``. By default it is 8. If
53+
``LIBOMP_NUM_HIDDEN_HELPER_THREADS=0``, hidden helper task is disabled and
54+
falls back to a regular OpenMP task. It can also be disabled by setting the
55+
environment variable ``LIBOMP_USE_HIDDEN_HELPER_TASK=OFF``.
56+
57+
- ``deviceRTLs`` for NVPTX platform is CUDA free now. It is generally OpenMP code.
58+
Target dependent parts are implemented with Clang/LLVM/NVVM intrinsics. CUDA
59+
SDK is also dropped as a dependence to build the device runtime, which means
60+
device runtime can also be built on a CUDA free system. However, it is
61+
disabled by default. Set the CMake variable
62+
``LIBOMPTARGET_BUILD_NVPTX_BCLIB=ON`` to enable the build of NVPTX device
63+
runtime on a CUDA free system. ``gcc-multilib`` and ``g++-multilib`` are
64+
required. If CUDA is found, the device runtime will be built by default.
65+
66+
- Static NVPTX device runtime library (``libomptarget-nvptx.a``) was dropped.
67+
A bitcode library is required to build an OpenMP program. If the library is
68+
not found in the default path or any of the paths defined by ``LIBRARY_PATH``,
69+
an error will be raised. User can also specify the path to the bitcode device
70+
library via ``--libomptarget-nvptx-bc-path=``.

0 commit comments

Comments
 (0)