[llvm] [OFFLOAD][L0] Add support for dynamic l0 fallbacks (PR #200517)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 04:10:56 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- offload/plugins-nextgen/level_zero/dynamic_l0/L0DynWrapper.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/offload/plugins-nextgen/level_zero/dynamic_l0/L0DynWrapper.cpp b/offload/plugins-nextgen/level_zero/dynamic_l0/L0DynWrapper.cpp
index bb09d05ac..8760d1acc 100644
--- a/offload/plugins-nextgen/level_zero/dynamic_l0/L0DynWrapper.cpp
+++ b/offload/plugins-nextgen/level_zero/dynamic_l0/L0DynWrapper.cpp
@@ -141,10 +141,9 @@ static ze_result_t zeCommandListAppendLaunchKernelWithArgumentsFallback(
     }
   });
   if (!zexKernelGetArgumentSize_ptr) {
-    ODBG(OLDT_Kernel)
-        << "zeCommandListAppendLaunchKernelWithArguments is not "
-           "available, and no fallback is possible without "
-           "argument size information.";
+    ODBG(OLDT_Kernel) << "zeCommandListAppendLaunchKernelWithArguments is not "
+                         "available, and no fallback is possible without "
+                         "argument size information.";
     return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
   }
 

``````````

</details>


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


More information about the llvm-commits mailing list