[clang] [CUDA] Add support for __grid_constant__ attribute (PR #114589)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 11:18:50 PST 2024
================
@@ -1450,6 +1450,13 @@ def CUDAHost : InheritableAttr {
}
def : MutualExclusions<[CUDAGlobal, CUDAHost]>;
+def CUDAGridConstant : InheritableAttr {
+ let Spellings = [GNU<"grid_constant">, Declspec<"__grid_constant__">];
+ let Subjects = SubjectList<[ParmVar]>;
+ let LangOpts = [CUDA];
+ let Documentation = [Undocumented];
----------------
yxsamliu wrote:
need documentation
https://github.com/llvm/llvm-project/pull/114589
More information about the cfe-commits
mailing list