[clang] [llvm] [SYCL] Add clang-linker-wrapper changes to call clang-sycl-linker for SYCL offloads (PR #135683)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 09:30:27 PDT 2025


================
@@ -792,6 +805,7 @@ bundleLinkedOutput(ArrayRef<OffloadingImage> Images, const ArgList &Args,
   llvm::TimeTraceScope TimeScope("Bundle linked output");
   switch (Kind) {
   case OFK_OpenMP:
+  case OFK_SYCL:
     return bundleOpenMP(Images);
----------------
jhuber6 wrote:

Could call it `offload/` but it emits the same calls that go to `libomptarget` when my assumption is that SYCL will want to use the plugin API @callumfare is working on.

https://github.com/llvm/llvm-project/pull/135683


More information about the llvm-commits mailing list