Skip to content

Commit

Permalink
[CUDA] Add arch=8.9 to CUDA_ARCHS for RTX 40XX (#6272)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryUlyanov committed Jan 12, 2024
1 parent 2e3543c commit ef2a49c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ if(USE_CUDA)
list(APPEND CUDA_ARCHS "8.7")
endif()
if(CUDA_VERSION VERSION_GREATER_EQUAL "11.8")
list(APPEND CUDA_ARCHS "8.9")
list(APPEND CUDA_ARCHS "9.0")
endif()
list(POP_BACK CUDA_ARCHS CUDA_LAST_SUPPORTED_ARCH)
Expand Down

0 comments on commit ef2a49c

Please sign in to comment.