[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


================
@@ -276,6 +296,14 @@ static bool loadLevelZero() {
   return true;
 }
 
+// Some APIs might be invalid in some level zero and
+// compute runtime environments. They will return
+// `ZE_RESULT_ERROR_UNSUPPORTED_FEATURE`. This
+// function sets their dlwrap pointers to null
----------------
adurang wrote:

```suggestion
// function sets their dlwrap pointers to null
// in this situation.
```

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


More information about the llvm-commits mailing list