summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-09 10:47:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-09 10:47:43 (GMT)
commit9165c839f81e8b5f5f0d35218fe04c1e1a40bbb2 (patch)
treefd9499a530089727212aa134126fed58f441a871 /Modules
parentb507794046db7cc1a9c2f16dbf7c7a8528930567 (diff)
parent8707178c1c0810b10929580799b09912e36f57b7 (diff)
downloadCMake-9165c839f81e8b5f5f0d35218fe04c1e1a40bbb2.zip
CMake-9165c839f81e8b5f5f0d35218fe04c1e1a40bbb2.tar.gz
CMake-9165c839f81e8b5f5f0d35218fe04c1e1a40bbb2.tar.bz2
Merge topic 'cuda-11-ptx-arch'
8707178c1c FindCUDA/select_compute_arch: generate PTX for the latest architecture Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4991
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindCUDA/select_compute_arch.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindCUDA/select_compute_arch.cmake b/Modules/FindCUDA/select_compute_arch.cmake
index c437bb1..c11725d 100644
--- a/Modules/FindCUDA/select_compute_arch.cmake
+++ b/Modules/FindCUDA/select_compute_arch.cmake
@@ -60,7 +60,7 @@ if(CUDA_VERSION VERSION_GREATER_EQUAL "8.0")
list(APPEND CUDA_ALL_GPU_ARCHITECTURES "6.0" "6.1" "6.2")
if(CUDA_VERSION VERSION_LESS "9.0")
- list(APPEND CUDA_COMMON_GPU_ARCHITECTURES "6.1+PTX")
+ list(APPEND CUDA_COMMON_GPU_ARCHITECTURES "6.2+PTX")
set(CUDA_LIMIT_GPU_ARCHITECTURE "7.0")
endif()
endif ()
@@ -71,7 +71,7 @@ if(CUDA_VERSION VERSION_GREATER_EQUAL "9.0")
list(APPEND CUDA_ALL_GPU_ARCHITECTURES "7.0" "7.2")
if(CUDA_VERSION VERSION_LESS "10.0")
- list(APPEND CUDA_COMMON_GPU_ARCHITECTURES "7.0+PTX")
+ list(APPEND CUDA_COMMON_GPU_ARCHITECTURES "7.2+PTX")
set(CUDA_LIMIT_GPU_ARCHITECTURE "8.0")
endif()
endif()