[PATCH] D21419: [CUDA] Don't pass top-level -march down to device cc1 or ptxas.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 16:43:36 PDT 2016


tra added inline comments.

================
Comment at: test/Driver/cuda-march.cu:22-28
@@ +21,9 @@
+
+// SM30:clang
+// SM30: "-cc1"
+// SM30-SAME: "-triple" "nvptx
+// SM30-SAME: "-target-cpu" "sm_30"
+// SM30: ptxas
+// SM30-SAME: "--gpu-name" "sm_30"
+
+// HASWELL:clang
----------------
You don't need SM30 checks these now.
Speaking of checks, you only need one check label now as all runs check for both SM20 and HASWELL.


http://reviews.llvm.org/D21419





More information about the cfe-commits mailing list