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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 16 18:51:22 PDT 2025


================
@@ -7545,6 +7545,45 @@ 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, conventionally exposed as
----------------
erichkeane wrote:

```suggestion
In CUDA/HIP programming, the ``cluster_dims`` attribute, conventionally exposed as the
```

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


More information about the cfe-commits mailing list