[llvm] [offload][sycl] add context parameter to olCreateProgram (PR #218387)

Kseniya Tikhomirova via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 05:32:15 PDT 2026


================
@@ -129,6 +129,7 @@ static bool isImageCompatible(const DeviceImageManager &Image,
 
 ol_symbol_handle_t
 ProgramAndKernelManager::getOrCreateKernel(DeviceKernelInfo &KernelInfo,
+                                           ol_context_handle_t Context,
----------------
KseniyaTikhomirova wrote:

I would expect ContextImpl here, see how device is passed. It is not good to mix different levels of abstraction without necessity.

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


More information about the llvm-commits mailing list