================ @@ -12222,8 +12222,17 @@ bool Sema::CheckFunctionDeclaration(Scope *S, FunctionDecl *NewFD, << NewFD; } - if (!Redeclaration && LangOpts.CUDA) + if (!Redeclaration && LangOpts.CUDA) { ---------------- akshayrdeodhar wrote:
Is it possible to add a check for sm70+ for grid_constant here? https://github.com/llvm/llvm-project/pull/114589 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits