Unverified Commit ef2a49cd authored by Dmitry Ulyanov's avatar Dmitry Ulyanov Committed by GitHub
Browse files

[CUDA] Add arch=8.9 to CUDA_ARCHS for RTX 40XX (#6272)

parent 2e3543c0
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment