summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/ConsumeCompileFeatures/static.cu
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-06-21 17:16:29 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2021-06-25 17:39:50 (GMT)
commita3cafa4237930d1ec1bcbdddc8a9c592e32458ca (patch)
tree33b38924f7edb95ccb18e054be5d757cce179ff5 /Tests/Cuda/ConsumeCompileFeatures/static.cu
parent66488d4eb31d372d8e06ce78e5f49a7cc43974ee (diff)
downloadCMake-a3cafa4237930d1ec1bcbdddc8a9c592e32458ca.zip
CMake-a3cafa4237930d1ec1bcbdddc8a9c592e32458ca.tar.gz
CMake-a3cafa4237930d1ec1bcbdddc8a9c592e32458ca.tar.bz2
compile_features: Ignore features that map to languages that aren't enabled
Remove the Cuda/ConsumeCompileFeatures test as it only existed to validate that using `cxx_std_XY` would cause the paired language (CUDA) to also build in mode XY.
Diffstat (limited to 'Tests/Cuda/ConsumeCompileFeatures/static.cu')
-rw-r--r--Tests/Cuda/ConsumeCompileFeatures/static.cu9
1 files changed, 0 insertions, 9 deletions
diff --git a/Tests/Cuda/ConsumeCompileFeatures/static.cu b/Tests/Cuda/ConsumeCompileFeatures/static.cu
deleted file mode 100644
index 73e43a8..0000000
--- a/Tests/Cuda/ConsumeCompileFeatures/static.cu
+++ /dev/null
@@ -1,9 +0,0 @@
-
-#include <type_traits>
-
-using tt = std::true_type;
-using ft = std::false_type;
-int __host__ static_cuda11_func(int x)
-{
- return x * x + std::integral_constant<int, 17>::value;
-}