[Openmp-commits] [openmp] 7e0b0e0 - [OpenMP][doc]Minor doc fixes

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 9 11:54:54 PST 2022


Author: Mark Dewing
Date: 2022-03-09T14:54:42-05:00
New Revision: 7e0b0e05af6349ff70b834b4de7a118233f60c37

URL: https://github.com/llvm/llvm-project/commit/7e0b0e05af6349ff70b834b4de7a118233f60c37
DIFF: https://github.com/llvm/llvm-project/commit/7e0b0e05af6349ff70b834b4de7a118233f60c37.diff

LOG: [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

Added: 
    

Modified: 
    openmp/docs/SupportAndFAQ.rst
    openmp/docs/design/Runtimes.rst

Removed: 
    


################################################################################
diff  --git a/openmp/docs/SupportAndFAQ.rst b/openmp/docs/SupportAndFAQ.rst
index 602d08f577d47..acb946cfe56d1 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 bb82cb7106e2c..1a15ba7c4adfc 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.
 


        


More information about the Openmp-commits mailing list