[llvm] [offload] Fix compatibility for level_zero 25.22.33944 (PR #214215)
Alex Duran via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 06:51:51 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>())
----------------
adurang wrote:
Ok, seems like a really unusual occurance so we can keep like this I think.
https://github.com/llvm/llvm-project/pull/214215
More information about the llvm-commits
mailing list