From 08862cb41f468ae95ab84f71574590e0566a2d9f Mon Sep 17 00:00:00 2001 From: Tsukasa Sugiura Date: Mon, 2 Jan 2017 23:37:23 +0900 Subject: [PATCH] Update CUDA Compute Capability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CUDA SDK 8.0 support for Compute Capability 2.0 – 6.x (Fermi, Kepler, Maxwell, Pascal). --- cmake/pcl_find_cuda.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/pcl_find_cuda.cmake b/cmake/pcl_find_cuda.cmake index 0999471116a..8b80d2ce076 100644 --- a/cmake/pcl_find_cuda.cmake +++ b/cmake/pcl_find_cuda.cmake @@ -43,7 +43,9 @@ 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 "6.5") + if(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 6.0 6.1") + elseif(NOT ${CUDA_VERSION_STRING} VERSION_LESS "6.5") set(__cuda_arch_bin "2.0 2.1(2.0) 3.0 3.5 5.0 5.2") elseif(NOT ${CUDA_VERSION_STRING} VERSION_LESS "6.0") set(__cuda_arch_bin "2.0 2.1(2.0) 3.0 3.5 5.0")