[clang] [Clang] Default OpenMP and C/C++ compilations to uniform blocks (PR #221279)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 13 06:54:45 PDT 2026


================
@@ -334,6 +334,9 @@ class TargetCodeGenInfo {
   /// Get LLVM calling convention for device kernels.
   virtual unsigned getDeviceKernelCallingConv() const;
 
+  /// \return true if the target's launch model delivers complete work-groups.
----------------
jhuber6 wrote:

I'm really struggling with how to satisfy your request to keep this as a language feature without polluting every single other C/C++ TU with an OpenCL feature. What is your suggested heuristic here.

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


More information about the cfe-commits mailing list