From 4123050b965f685e8e56c74d413e99f64f35d38b Mon Sep 17 00:00:00 2001 From: Baodi Shan Date: Wed, 2 Oct 2024 12:55:28 -0400 Subject: [PATCH] [Offload][Doc] Add 'offload' in OpenMP target doc (#110141) Fix #106399 --- 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 cd2d6a4703221..dee707cf50f91 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 `__.). Make sure all backends that are targeted by OpenMP are enabled. That can be done by adjusting the CMake