summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-04-25 20:01:09 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2017-04-26 15:41:22 (GMT)
commita36fb229ba04321be3d0a2472a944c05fea987e9 (patch)
treecc502964c2d72820e19986aad4af3e53b0d89d56 /Tests/Cuda
parent3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff)
downloadCMake-a36fb229ba04321be3d0a2472a944c05fea987e9.zip
CMake-a36fb229ba04321be3d0a2472a944c05fea987e9.tar.gz
CMake-a36fb229ba04321be3d0a2472a944c05fea987e9.tar.bz2
CUDA: Visual Studio now properly delays device linking
Diffstat (limited to 'Tests/Cuda')
-rw-r--r--Tests/Cuda/Complex/dynamic.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Cuda/Complex/dynamic.cu b/Tests/Cuda/Complex/dynamic.cu
index f677868..a76973d 100644
--- a/Tests/Cuda/Complex/dynamic.cu
+++ b/Tests/Cuda/Complex/dynamic.cu
@@ -37,7 +37,7 @@ EXPORT int choose_cuda_device()
<< std::endl;
return 1;
}
- if (prop.major >= 4) {
+ if (prop.major >= 3) {
err = cudaSetDevice(i);
if (err != cudaSuccess) {
std::cout << "Could not select CUDA device " << i << std::endl;