[llvm] [offload] Fix compatibility for level_zero 25.22.33944 (PR #214215)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 06:43:55 PDT 2026


================
@@ -177,16 +178,15 @@ class L0CmdListManagerTy {
                            ze_event_handle_t SignalEvent = nullptr,
                            uint32_t NumWaitEvents = 0,
                            ze_event_handle_t *WaitEvents = nullptr) {
-    auto zeCommandListAppendHost = Context.zeCommandListAppendHostFunction;
-    if (!zeCommandListAppendHost)
+    if (!api_helper::canCall<zeCommandListAppendHostFunction>())
----------------
blazej-smorawski wrote:

Aaah, hmm I'm not sure, maybe if you had old level zero but new compute runtime? I'll check.

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


More information about the llvm-commits mailing list