[Openmp-commits] [PATCH] D142369: [Libomptarget] Emit a special warning when no images are found

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 17 09:29:35 PDT 2023


ye-luo accepted this revision.
ye-luo added a comment.
This revision is now accepted and ready to land.

Still prefer a more clear message.



================
Comment at: openmp/libomptarget/src/omptarget.cpp:275
+                  (!Info.Arch || *Info.Arch == '\0') ? "(empty) " : Info.Arch);
+        fprintf(stderr, "\n");
+      }
----------------
jdoerfert wrote:
> None of the images, what?
FAILURE_MESSAGE("No images found compatible with the hardware. Found ");
fprintf(stderr, "(%s) images\n", llvm::join(Archs, ",").c_str());


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142369



More information about the Openmp-commits mailing list