[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 07:05:06 PDT 2025


================
@@ -13067,6 +13067,14 @@ def warn_cuda_maxclusterrank_sm_90 : Warning<
   "maxclusterrank requires sm_90 or higher, CUDA arch provided: %0, ignoring "
   "%1 attribute">, InGroup<IgnoredAttributes>;
 
+def err_cuda_cluster_attr_not_supported : Error<
+  "%0 is not supported for this GPU architecture"
----------------
shiltian wrote:

You mean `err_cuda_cluster_attr_not_supported` to `err_cluster_attr_not_supported`? Sure, I will do that.

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


More information about the cfe-commits mailing list