[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 05:58:36 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:
I'm not sure about this but, is it possible for the routine not to exist, but the extension in the driver to exist (and available through the getExtension APIs)?
https://github.com/llvm/llvm-project/pull/214215
More information about the llvm-commits
mailing list