[Openmp-commits] [openmp] Add 'offload' in OpenMP target doc. (PR #110141)
Baodi Shan via Openmp-commits
openmp-commits at lists.llvm.org
Thu Sep 26 09:11:56 PDT 2024
https://github.com/lwshanbd created https://github.com/llvm/llvm-project/pull/110141
None
>From 6485ae7d9d637c41b9def7380bb3c65477ba0190 Mon Sep 17 00:00:00 2001
From: Baodi Shan <lwshanbd at gmail.com>
Date: Fri, 27 Sep 2024 00:11:07 +0800
Subject: [PATCH] add 'offload' in OpenMP target doc.
---
openmp/docs/SupportAndFAQ.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmp/docs/SupportAndFAQ.rst b/openmp/docs/SupportAndFAQ.rst
index a158422befd07f..4455bfe19e40c6 100644
--- a/openmp/docs/SupportAndFAQ.rst
+++ b/openmp/docs/SupportAndFAQ.rst
@@ -52,7 +52,7 @@ All patches go through the regular `LLVM review process
Q: How to build an OpenMP GPU offload capable compiler?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
To build an *effective* OpenMP offload capable compiler, only one extra CMake
-option, ``LLVM_ENABLE_RUNTIMES="openmp"``, is needed when building LLVM (Generic
+option, ``LLVM_ENABLE_RUNTIMES="openmp;offload"``, is needed when building LLVM (Generic
information about building LLVM is available `here
<https://llvm.org/docs/GettingStarted.html>`__.). Make sure all backends that
are targeted by OpenMP are enabled. That can be done by adjusting the CMake
More information about the Openmp-commits
mailing list