[llvm] [libsycl] Add liboffload kernel creation (PR #188794)
Alexey Bader via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 08:17:36 PDT 2026
================
@@ -69,32 +71,35 @@ class ProgramAndKernelManager {
/// data passed to registerFatBin.
void unregisterFatBin(__sycl_tgt_bin_desc *FatbinDesc);
+ /// Creates a liboffload kernel that is ready for execution.
+ /// This method is thread-safe (protected with MDataCollectionMutex).
----------------
bader wrote:
```suggestion
/// This method is thread-safe.
```
I don't think it's a good idea to put the variable name in the comments or any implementation details here.
https://github.com/llvm/llvm-project/pull/188794
More information about the llvm-commits
mailing list