[llvm] [libsycl] Add liboffload kernel creation (PR #188794)

Sergey Semenov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 06:43:37 PDT 2026


================
@@ -69,32 +71,35 @@ class ProgramAndKernelManager {
   /// data passed to registerFatBin.
   void unregisterFatBin(__sycl_tgt_bin_desc *FatbinDesc);
 
+  /// Creates liboffload kernel that is ready for execution.
+  /// Thread-safe.
+  /// \param KernelInfo a set of kernel specific data: name, corresponding
+  /// device image, etc.
+  /// \param Device a device for which this kernel must be compiled.
+  /// \return liboffload kernel handle that is ready to be passed to kernel
+  /// execution methods.
----------------
sergey-semenov wrote:

```suggestion
  /// Creates a liboffload kernel that is ready for execution.
  /// Thread-safe.
  /// \param KernelInfo a set of kernel specific data: name, corresponding
  /// device image, etc.
  /// \param Device the device for which this kernel must be compiled.
  /// \return a liboffload kernel handle that is ready to be passed to kernel
  /// execution methods.
```

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


More information about the llvm-commits mailing list