================
@@ -1572,6 +1572,23 @@ def HIPManaged : InheritableAttr {
   let Documentation = [HIPManagedAttrDocs];
 }
 
+def CUDAClusterDims : InheritableAttr {
+  let Spellings = [GNU<"cluster_dims">, Declspec<"cluster_dims">];
+  let Args = [ExprArgument<"X">, ExprArgument<"Y", 1>, ExprArgument<"Z", 1>];
----------------
erichkeane wrote:

```suggestion
  let Args = [ExprArgument<"X">, ExprArgument<"Y",  /*opt=*/1>, 
ExprArgument<"Z", /*opt=*/1>];
```
We're SUPPOSED to have these, though I suspect we're really lazy/inconsistent 
about these.

https://github.com/llvm/llvm-project/pull/156686
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to