[llvm] [libsycl] Introduce Kernel name based cache (PR #225865)

Sergey Semenov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 12:55:36 PDT 2026


================
@@ -185,8 +202,10 @@ ol_symbol_handle_t ProgramAndKernelManager::getOrCreateKernel(
   trackContext(Context);
 
   // Lock order is MDataCollectionMutex -> ContextImpl::MProgramCacheMutex.
-  return Context->getOrCreateKernel(DeviceImage, Device.getOLHandle(),
-                                    KernelInfo.getName());
+  ol_symbol_handle_t Kernel = Context->getOrCreateKernel(
----------------
sergey-semenov wrote:

Is there a path that would follow the "get" branch of "ContextImpl::getOrCreateKernel"?

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


More information about the llvm-commits mailing list