[llvm] [offload] Get kernel argument sizes from Level Zero (PR #192487)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 04:07:20 PDT 2026


================
@@ -61,6 +61,8 @@ struct KernelPropertiesTy {
   /// Cached input parameters used in the previous launch.
   int32_t NumTeams = -1;
   int32_t ThreadLimit = -1;
+  uint32_t NumKernelArgs = 0;
+  std::unique_ptr<uint32_t[]> ArgSizes;
----------------
adurang wrote:

nit: please move these two above the "// Cached [...]" comment as it's kind of misleading rn

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


More information about the llvm-commits mailing list