[Openmp-commits] [PATCH] D139287: [WIP][OpenMP] Introduce basic JIT support to OpenMP target offloading

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 12 08:13:57 PST 2022


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:685
+      auto TgtImageOrErr = jit::compile(TgtImage, Triple, Arch,
+                                        /* OptLevel */ 3, PostProcessing);
+      if (!TgtImageOrErr) {
----------------
tianshilei1992 wrote:
> Do we want a configurable value for the `OptLevel`, or can we know it from somewhere else what value is used at compile time?
We most likely want a env var and maybe later even pass the value through. Env var is good enough for now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139287



More information about the Openmp-commits mailing list