[llvm] [OFFLOAD][L0] Add support for dynamic l0 fallbacks (PR #200517)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 07:46:01 PDT 2026


================
@@ -106,6 +107,113 @@ DLWRAP_FINALIZE()
 #define DEBUG_PREFIX "TARGET " GETNAME(TARGET_NAME) " RTL"
 #endif
 
+// Extension function pointer for getting argument sizes.
+static ze_result_t (*zexKernelGetArgumentSize_ptr)(ze_kernel_handle_t, uint32_t,
+                                                   uint32_t *) = nullptr;
+
+static ze_result_t zeCommandListAppendLaunchKernelWithArgumentsFallback(
+    ze_command_list_handle_t hCommandList, ze_kernel_handle_t hKernel,
+    const ze_group_count_t groupCounts, const ze_group_size_t groupSizes,
+    void **pArguments, const void *pNext, ze_event_handle_t hSignalEvent,
----------------
sarnex wrote:

nevermind i see this is the official api arg name

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


More information about the llvm-commits mailing list