[PATCH] D113359: [Libomptarget][WIP] Introduce VGPU Plugin

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 11 09:04:44 PST 2021


tianshilei1992 added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Gnu.cpp:3082
+  if (getTriple().getVendor() == llvm::Triple::OpenMP_VGPU) {
+    std::string BitcodeSuffix = "x86_64-vgpu";
+    clang::driver::tools::addOpenMPDeviceRTL(getDriver(), DriverArgs, CC1Args,
----------------
Maybe `"x86_64-openmp_vpu"` now?


================
Comment at: llvm/lib/Support/Triple.cpp:189
+  case OpenMP_VGPU:
+    return "vgpu";
   }
----------------
`"openmp_vpu"`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113359



More information about the cfe-commits mailing list