[llvm] [offload] Add properties parameter to olLaunchKernel (PR #184343)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 09:56:19 PST 2026


================
@@ -370,6 +370,12 @@ struct GenericKernelTy {
   virtual Expected<uint64_t> maxGroupSize(GenericDeviceTy &GenericDevice,
                                           uint64_t DynamicMemSize) const = 0;
 
+  /// Get the maximum number of work groups that can be launched cooperatively.
+  virtual Expected<uint32_t>
----------------
jhuber6 wrote:

Could we just make the default version pass an error so we don't need to define it for every file?

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


More information about the llvm-commits mailing list