[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:45:36 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,
----------------
sarnex wrote:

fair, thanks

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


More information about the llvm-commits mailing list