[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 15:30:59 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2a8c9d7c8abf: [Libomptarget] Use the nextgen plugins by default. (authored by jhuber6).

Changed prior to commit:
  https://reviews.llvm.org/D142399?vs=491491&id=491525#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142399/new/

https://reviews.llvm.org/D142399

Files:
  openmp/libomptarget/src/rtl.cpp
  openmp/libomptarget/test/mapping/prelock.cpp


Index: openmp/libomptarget/test/mapping/prelock.cpp
===================================================================
--- openmp/libomptarget/test/mapping/prelock.cpp
+++ openmp/libomptarget/test/mapping/prelock.cpp
@@ -1,4 +1,5 @@
-// RUN: %libomptarget-compilexx-run-and-check-generic
+// RUN: %libomptarget-compilexx-generic
+// RUN: env LIBOMPTARGET_NEXTGEN_PLUGINS=0 %libomptarget-run-generic %fcheck-generic
 
 // UNSUPPORTED: aarch64-unknown-linux-gnu
 // UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
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.491525.patch
Type: text/x-patch
Size: 1012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230123/7d03f566/attachment.bin>


More information about the Openmp-commits mailing list