Tests: Fix Cuda test project names

Make them match what `ADD_TEST_MACRO` gives to ctest as the
project name to build so that the `.sln` file will be found.
This commit is contained in:
Brad King
2018-10-10 11:52:23 -04:00
parent fd02538974
commit fb378fc4d7
14 changed files with 14 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project (CudaComplex CXX CUDA)
project (Complex CXX CUDA)
#Goal for this example:
#build a cpp dynamic library base

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project (CudaConsumeCompileFeatures CXX CUDA)
project (ConsumeCompileFeatures CXX CUDA)
#Goal for this example:
#build a c++11 library that express a c++11 public compile feature

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
project(CudaComplex CXX CUDA)
project(MixedStandardLevels CXX CUDA)
string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_30,code=compute_30")

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
project (CudaObjectLibrary CUDA CXX)
project (ObjectLibrary CUDA CXX)
#Goal for this example:
#
#Build C++ and CUDA object files and than use them to make an executable

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
project(CudaComplex CUDA C)
project(WithC CUDA C)
string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_30,code=compute_30")

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
project (CudaOnlyCircularLinkLine CUDA)
project (CircularLinkLine CUDA)
#Goal for this example:
# Verify that we de-duplicate the device link line

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project (CudaOnlyEnableStandard CUDA)
project (EnableStandard CUDA)
#Goal for this example:
#build cuda sources that require C++11 to be enabled.

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.8)
project (CudaOnlyExportPTX CUDA)
project (ExportPTX CUDA)
#Goal for this example:
# How to generate PTX files instead of OBJECT files

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project (CudaOnlGPUDebugFlag CUDA)
project (GPUDebugFlag CUDA)
#Goal for this example:
#verify that -G enables gpu debug flags

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.8)
project(CudaOnlyLinkSystemDeviceLibraries CUDA)
project(LinkSystemDeviceLibraries CUDA)
string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_35,code=compute_35 -gencode arch=compute_35,code=sm_35")
set(CMAKE_CUDA_STANDARD 11)

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.11)
project (CudaOnlyPDB CUDA)
project (PDB CUDA)
add_executable(CudaOnlyPDB main.cu)
set_target_properties(CudaOnlyPDB PROPERTIES

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
project (CudaOnlyResolveDeviceSymbols CUDA)
project (ResolveDeviceSymbols CUDA)
# Find nm and dumpbin
if(CMAKE_NM)

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project (CudaOnlySeparateCompilation CUDA)
project (SeparateCompilation CUDA)
#Goal for this example:
#Build a static library that defines multiple methods and kernels that

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project (CudaOnlyWithDefs CUDA)
project (WithDefs CUDA)
#verify that we can pass explicit cuda arch flags
string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_30,code=compute_30")