Merge pull request #3763 from laomaiweng:patch-1

This commit is contained in:
Vadim Pisarevsky 2015-03-02 10:35:38 +00:00
commit 0a5df01626

View File

@ -85,6 +85,8 @@ if(CUDA_FOUND)
else()
if(${CUDA_VERSION} VERSION_LESS "5.0")
set(__cuda_arch_bin "1.1 1.2 1.3 2.0 2.1(2.0) 3.0")
elseif(${CUDA_VERSION} VERSION_GREATER "6.5")
set(__cuda_arch_bin "2.0 2.1(2.0) 3.0 3.5")
else()
set(__cuda_arch_bin "1.1 1.2 1.3 2.0 2.1(2.0) 3.0 3.5")
endif()