================
@@ -85,6 +85,13 @@ TEST(runToolOnCode, CudaSyntaxOnly) {
"-nocudainc"}));
}
+TEST(runToolOnCode, CudaMultipleArchs) {
+ EXPECT_TRUE(runToolOnCodeWithArgs(
+ std::make_unique<TestAction>(std::make_unique<clang::ASTConsumer>()), "",
+ {"-fsyntax-only", "-x", "cuda", "--offload-arch=sm_70,sm_80",
+ "-nocudalib", "-nocudainc"}));
----------------
jhuber6 wrote:
Oh, I think the github view only showed the change to that commit for some
reason. Yeah this is fine.
https://github.com/llvm/llvm-project/pull/173762
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits