Skip to content

Commit

Permalink
BLD: CUDA arch 86 not available until 11.1 (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
carterbox committed Apr 29, 2021
1 parent b06e891 commit d04e73c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/Modules/Packages.cmake
Expand Up @@ -212,7 +212,11 @@ if(TOMOPY_USE_CUDA)
if(CUDA_VERSION_MAJOR VERSION_LESS 11)
set(CUDA_ARCH "30;32;35;37;50;52;53;60;61;62;70;72;75")
else()
set(CUDA_ARCH "35;37;50;52;53;60;61;62;70;72;75;80;86")
if(CUDA_VERSION_MINOR VERSION_LESS 1)
set(CUDA_ARCH "35;37;50;52;53;60;61;62;70;72;75;80")
else()
set(CUDA_ARCH "35;37;50;52;53;60;61;62;70;72;75;80;86")
endif()
endif()
endif()

Expand Down

0 comments on commit d04e73c

Please sign in to comment.