[clang] [Clang][HIP][CUDA] Add `__cluster_dims__` and `__no_cluster__` attribute (PR #156686)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 16 15:23:44 PDT 2025


================
@@ -7532,6 +7532,25 @@ A managed variable can be accessed in both device and host code.
   }];
 }
 
+def CUDAClusterDimsAttrDoc : Documentation {
+  let Category = DocCatDecl;
+  let Content = [{
+In CUDA/HIP programming, the ``__cluster_dims__`` attribute can be applied to a kernel function
----------------
shiltian wrote:

Done.

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


More information about the cfe-commits mailing list