summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/WithDefs/main_for_vs.cu
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-07 19:27:36 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-10 15:19:58 (GMT)
commit65481a60a06b4238d342f64b5fed52e252ee191b (patch)
treef3b7e918dd560b5e1829340a55ad9bf77eac0e79 /Tests/CudaOnly/WithDefs/main_for_vs.cu
parent8cae24a1d0277fe3fdd0f2fa9e9a76906ad6c016 (diff)
downloadCMake-65481a60a06b4238d342f64b5fed52e252ee191b.zip
CMake-65481a60a06b4238d342f64b5fed52e252ee191b.tar.gz
CMake-65481a60a06b4238d342f64b5fed52e252ee191b.tar.bz2
CUDA: Work around VS limitation in CudaOnly.WithDefs test
CUDA 8.0 MSBuild rules do not pass `-x cu` to nvcc and so cannot support a custom file extension. Fix our test for this to use a `.cu` extension instead.
Diffstat (limited to 'Tests/CudaOnly/WithDefs/main_for_vs.cu')
-rw-r--r--Tests/CudaOnly/WithDefs/main_for_vs.cu1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CudaOnly/WithDefs/main_for_vs.cu b/Tests/CudaOnly/WithDefs/main_for_vs.cu
new file mode 100644
index 0000000..56078e7
--- /dev/null
+++ b/Tests/CudaOnly/WithDefs/main_for_vs.cu
@@ -0,0 +1 @@
+#include "main.notcu"