[llvm] [offload] Fix compatibility for level_zero 25.22.33944 (PR #214215)
Jan Trusiłło via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 05:40:43 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>())
----------------
311Volt wrote:
It's something to think about later, if more compatibility issues surface. If fallbacks impact performance significantly, the caller may care about that, so that's something that should also be considered.
https://github.com/llvm/llvm-project/pull/214215
More information about the llvm-commits
mailing list