[clang] [NVPTX] Add support for maxclusterrank in launch_bounds (PR #66496)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 09:29:12 PDT 2023


================
@@ -11836,6 +11836,10 @@ def err_sycl_special_type_num_init_method : Error<
   "types with 'sycl_special_class' attribute must have one and only one '__init' "
   "method defined">;
 
+def warn_cuda_maxclusterrank_sm_90 : Warning<
+  "maxclusterrank requires sm_90 or higher, CUDA arch provided: %0, ignoring "
+  "%1 attribute">, InGroup<IgnoredAttributes>;
----------------
Artem-B wrote:

Are we ignoring the whole launch_bounds attribute, or only the MaxBlocks parameter?

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


More information about the cfe-commits mailing list