Skip to content

Commit

Permalink
Merge pull request #113 from alicevision/cuda/sm86support
Browse files Browse the repository at this point in the history
[cmake] added support for SM86
  • Loading branch information
griwodz authored Oct 7, 2020
2 parents 3cd0836 + 13cf942 commit c8a669b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ChooseCudaCC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function(chooseCudaCC SUPPORTED_CC SUPPORTED_GENCODE_FLAGS)

set(CC_LIST_BY_SYSTEM_PROCESSOR "")
if(CMAKE_SYSTEM_PROCESSOR IN_LIST OTHER_SUPPORTED_PROCESSORS)
list(APPEND CC_LIST_BY_SYSTEM_PROCESSOR "20;21;30;35;50;52;60;61;70;75;80")
list(APPEND CC_LIST_BY_SYSTEM_PROCESSOR "20;21;30;35;50;52;60;61;70;75;80;86")
endif()
if(CMAKE_SYSTEM_PROCESSOR IN_LIST TEGRA_SUPPORTED_PROCESSORS)
list(APPEND CC_LIST_BY_SYSTEM_PROCESSOR "32;53;62;72")
Expand All @@ -79,7 +79,7 @@ function(chooseCudaCC SUPPORTED_CC SUPPORTED_GENCODE_FLAGS)
# Shortening the lists saves a lot of compile time.
#
set(CUDA_MIN_CC 20)
set(CUDA_MAX_CC 80)
set(CUDA_MAX_CC 86)
if(CUDA_VERSION_MAJOR GREATER_EQUAL 11)
set(CUDA_MIN_CC 35)
elseif(CUDA_VERSION_MAJOR GREATER_EQUAL 10)
Expand Down

0 comments on commit c8a669b

Please sign in to comment.