[Openmp-commits] [PATCH] D142399: [Libomptarget] Use the nextgen plugins by default.

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 23 13:13:16 PST 2023

jhuber6 created this revision.
jhuber6 added reviewers: ronlieb, gregrodgers, tianshilei1992, jdoerfert, JonChesterfield, ye-luo, RaviNarayanaswamy.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

The next-gen plugins are complete drop-in replacements for the old
versions. We should strive to replace the old ones as quickly as
possible now that we have a viable alternative.

The only test failing is the `prelock.cpp` test as the support has not landed in
the next-gen plugins.

  rG LLVM Github Monorepo



Index: openmp/libomptarget/src/rtl.cpp
--- openmp/libomptarget/src/rtl.cpp
+++ openmp/libomptarget/src/rtl.cpp
@@ -92,7 +92,7 @@
   DP("Loading RTLs...\n");
-  BoolEnvar NextGenPlugins("LIBOMPTARGET_NEXTGEN_PLUGINS", false);
+  BoolEnvar NextGenPlugins("LIBOMPTARGET_NEXTGEN_PLUGINS", true);
   // Attempt to open all the plugins and, if they exist, check if the interface
   // is correct and if they are supporting any devices.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142399.491491.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230123/36c7dddf/attachment.bin>

More information about the Openmp-commits mailing list