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

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 08:36:09 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 SYCLJITOptions {
+  // Target/compiler specific options that are suggested to use to "compile"
+  // program at runtime.
----------------
sarnex wrote:

nit that can be addressed in follow-up pr, this comment might be clearer, these options arent really a suggestion, they must be passed to the gpu driver 
```suggestion
  // Target/compiler specific options that are passed to the device compiler
  // at runtime.
```

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


More information about the llvm-commits mailing list