[llvm] [offload] Add properties parameter to olLaunchKernel (PR #184343)

Ɓukasz Plewa via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 08:10:17 PST 2026


================
@@ -1058,6 +1092,25 @@ Error olLaunchKernel_impl(ol_queue_handle_t Queue, ol_device_handle_t Device,
   LaunchArgs.ThreadLimit[2] = LaunchSizeArgs->GroupSize.z;
   LaunchArgs.DynCGroupMem = LaunchSizeArgs->DynSharedMemory;
 
+  while (Properties && Properties->type != OL_KERNEL_LAUNCH_PROP_TYPE_NONE) {
+    switch (Properties->type) {
+    case OL_KERNEL_LAUNCH_PROP_TYPE_SIZE:
----------------
lplewa wrote:

This is a main reason for this patch. We added extensions, so sycl can pass extra information about args sizes. This is needed for L0plugin (if experimental api for reading sizes is not available), but also for openCL plugin in future.

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


More information about the llvm-commits mailing list