[clang] [llvm] [SYCL] Add clang-linker-wrapper changes to call clang-sycl-linker for SYCL offloads (PR #135683)
Arvind Sudarsanam via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 17 09:42:39 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);
----------------
asudarsa wrote:
Bundling logic is very simple. it just bufferizes the images and stores them back in a sequence. This can easily work for SYCL. Wrapping logic is the one which is more complicated.
I would prefer to keep the name as is and revisit this once offload wrapping logic has been added for SYCL. We may or may not keep the bundling logic the same. It is expected to work as is.
Thanks
https://github.com/llvm/llvm-project/pull/135683
More information about the llvm-commits
mailing list