diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2021-06-21 17:16:29 (GMT) |
---|---|---|
committer | Robert Maynard <rmaynard@nvidia.com> | 2021-06-25 17:39:50 (GMT) |
commit | a3cafa4237930d1ec1bcbdddc8a9c592e32458ca (patch) | |
tree | 33b38924f7edb95ccb18e054be5d757cce179ff5 /Tests/Cuda/ConsumeCompileFeatures/static.cu | |
parent | 66488d4eb31d372d8e06ce78e5f49a7cc43974ee (diff) | |
download | CMake-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.cu | 9 |
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; -} |