[Openmp-commits] [PATCH] D142538: [Libomptarget] Stop testing LTO on AMD offloading
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 25 06:47:52 PST 2023
jhuber6 created this revision.
jhuber6 added reviewers: ye-luo, jdoerfert, tianshilei1992, JonChesterfield.
Herald added subscribers: kosarev, kerbowa, inglorion, jvesely.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.
Recent patches made `-foffload-lto` effectively a `no-op` on AMD
offloading. We no longer need to test them separately.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142538
Files:
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
Index: openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
===================================================================
--- openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
+++ openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
@@ -114,12 +114,10 @@
option(LIBOMPTARGET_FORCE_AMDGPU_TESTS "Build AMDGPU libomptarget tests" OFF)
if (LIBOMPTARGET_FOUND_AMDGPU_GPU OR LIBOMPTARGET_FORCE_AMDGPU_TESTS)
# Report to the parent scope that we are building a plugin for amdgpu
- set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa amdgcn-amd-amdhsa-oldDriver" PARENT_SCOPE)
- set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa amdgcn-amd-amdhsa-LTO" PARENT_SCOPE)
+ set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa" PARENT_SCOPE)
list(APPEND LIBOMPTARGET_TESTED_PLUGINS "omptarget.rtl.amdgpu")
set(LIBOMPTARGET_TESTED_PLUGINS "${LIBOMPTARGET_TESTED_PLUGINS}" PARENT_SCOPE)
else()
libomptarget_say("Not generating amdgcn test targets as libhsa is not linkable")
return()
endif()
-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142538.492092.patch
Type: text/x-patch
Size: 1092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230125/88daa943/attachment.bin>
More information about the Openmp-commits
mailing list