Skip to content

Commit

Permalink
Merge pull request #2560 from jasjuang/master
Browse files Browse the repository at this point in the history
add support for latest Turing gpu and cuda 10
  • Loading branch information
UnaNancyOwen authored Oct 15, 2018
2 parents f9cbe14 + fbb883e commit a602b19
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/pcl_find_cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ if(CUDA_FOUND)

# Find a complete list for CUDA compute capabilities at http://developer.nvidia.com/cuda-gpus

if(NOT ${CUDA_VERSION_STRING} VERSION_LESS "9.0")
set(__cuda_arch_bin "3.0 3.5 5.0 5.2 5.3 6.0 6.1 7.0")
if(NOT ${CUDA_VERSION_STRING} VERSION_LESS "10.0")
set(__cuda_arch_bin "3.0 3.5 5.0 5.2 5.3 6.0 6.1 7.0 7.2 7.5")
elseif(NOT ${CUDA_VERSION_STRING} VERSION_LESS "9.0")
set(__cuda_arch_bin "3.0 3.5 5.0 5.2 5.3 6.0 6.1 7.0 7.2")
elseif(NOT ${CUDA_VERSION_STRING} VERSION_LESS "8.0")
set(__cuda_arch_bin "2.0 2.1(2.0) 3.0 3.5 5.0 5.2 5.3 6.0 6.1")
elseif(NOT ${CUDA_VERSION_STRING} VERSION_LESS "6.5")
Expand Down

0 comments on commit a602b19

Please sign in to comment.