diff options
author | Mark Dewing <mdewing@anl.gov> | 2022-03-09 14:52:15 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-03-09 14:54:42 -0500 |
commit | 7e0b0e05af6349ff70b834b4de7a118233f60c37 (patch) | |
tree | 26405914e7de4eedd1d2bc4309096130990e5609 | |
parent | bef2592c092f453078d8762d6d3d9c811f23c25d (diff) |
[OpenMP][doc]Minor doc fixes
In SupportAndFAQ.rst, add blank lines before and after a bullet list and
sublist. This avoids an "Unepxected indentation" warning.
In Runtimes.rst, adjust the suggestion for setting LIBOMPTARGET_INFO.
The right shifts are not necessary as the bit mask values are already
correct.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D119595
-rw-r--r-- | openmp/docs/SupportAndFAQ.rst | 3 | ||||
-rw-r--r-- | openmp/docs/design/Runtimes.rst | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/openmp/docs/SupportAndFAQ.rst b/openmp/docs/SupportAndFAQ.rst index 602d08f577d4..acb946cfe56d 100644 --- a/openmp/docs/SupportAndFAQ.rst +++ b/openmp/docs/SupportAndFAQ.rst @@ -151,14 +151,17 @@ bugs. Q: What are the LLVM components used in offloading and how are they found? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The libraries used by an executable compiled for target offloading are: + - ``libomp.so`` (or similar), the host openmp runtime - ``libomptarget.so``, the target-agnostic target offloading openmp runtime - plugins loaded by libomptarget.so: + - ``libomptarget.rtl.amdgpu.so`` - ``libomptarget.rtl.cuda.so`` - ``libomptarget.rtl.x86_64.so`` - ``libomptarget.rtl.ve.so`` - and others + - dependencies of those plugins, e.g. cuda/rocr for nvptx/amdgpu The compiled executable is dynamically linked against a host runtime, e.g. diff --git a/openmp/docs/design/Runtimes.rst b/openmp/docs/design/Runtimes.rst index bb82cb7106e2..1a15ba7c4adf 100644 --- a/openmp/docs/design/Runtimes.rst +++ b/openmp/docs/design/Runtimes.rst @@ -763,7 +763,7 @@ with ``CUDA`` information, run the following ``bash`` command. .. code-block:: console - $ env LIBOMPTARGET_INFO=$((1 << 0x1 | 1 << 0x10)) ./your-application + $ env LIBOMPTARGET_INFO=$((0x1 | 0x10)) ./your-application Or, to enable every flag run with every bit set. |