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

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


================
@@ -52,6 +54,23 @@ LLVM_ABI llvm::Error wrapHIPBinary(llvm::Module &M, llvm::ArrayRef<char> Images,
                                    EntryArrayTy EntryArray,
                                    llvm::StringRef Suffix = "",
                                    bool EmitSurfacesAndTextures = true);
+
+struct SYCLWrappingOptions {
+  // target/compiler specific options what are suggested to use to "compile"
+  // program at runtime.
+  std::string CompileOptions;
+  // Target/Compiler specific options that are suggested to use to "link"
----------------
YuriPlyakhin wrote:

nit
```suggestion
  // Target/compiler specific options that are suggested to use to "link"
```

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


More information about the llvm-commits mailing list