diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2017-04-25 16:01:09 -0400 |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2017-04-26 11:41:22 -0400 |
commit | a36fb229ba04321be3d0a2472a944c05fea987e9 (patch) | |
tree | cc502964c2d72820e19986aad4af3e53b0d89d56 /Tests/Cuda/Complex | |
parent | 3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff) | |
download | cmake-a36fb229ba04321be3d0a2472a944c05fea987e9.tar.gz |
CUDA: Visual Studio now properly delays device linking
Diffstat (limited to 'Tests/Cuda/Complex')
-rw-r--r-- | Tests/Cuda/Complex/dynamic.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Cuda/Complex/dynamic.cu b/Tests/Cuda/Complex/dynamic.cu index f677868819..a76973d62d 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; |