[llvm] [offload] Add `dlwrap::loaded` function to check for optional symbols (PR #210737)
Ćukasz Plewa via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 03:58:11 PDT 2026
================
@@ -143,13 +137,16 @@ static ze_result_t zeCommandListAppendLaunchKernelWithArgumentsFallback(
}
}
});
- if (!zexKernelGetArgumentSize_ptr) {
- ODBG(OLDT_Kernel) << "zeCommandListAppendLaunchKernelWithArguments is not "
- "available, and no fallback is possible without "
- "argument size information.";
- return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
- }
+ return zexKernelGetArgumentSize_ptr != nullptr;
+}
+
+static ze_result_t zeCommandListAppendLaunchKernelWithArgumentsFallback(
----------------
lplewa wrote:
We are before zeInit(), so you should not use level zero calls before
https://github.com/llvm/llvm-project/pull/210737
More information about the llvm-commits
mailing list