[clang] [llvm] [SYCL] Add offload wrapping for SYCL kind. (PR #147508)

Yury Plyakhin via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 29 12:25:27 PDT 2025


================
@@ -717,6 +717,13 @@ wrapDeviceImages(ArrayRef<std::unique_ptr<MemoryBuffer>> Buffers,
             M, BuffersToWrap.front(), offloading::getOffloadEntryArray(M)))
       return std::move(Err);
     break;
+  case OFK_SYCL: {
+    offloading::SYCLWrappingOptions WrappingOptions;
----------------
YuriPlyakhin wrote:

It seems `WrappingOptions` is not used currently. If there is a plan to use it in the following patches, might be good to add some comment about it.

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


More information about the cfe-commits mailing list