From ef2a49cd3bc595b55898c626a53c5519b24b5541 Mon Sep 17 00:00:00 2001 From: Dmitry Ulyanov Date: Fri, 12 Jan 2024 19:25:51 +0300 Subject: [PATCH] [CUDA] Add arch=8.9 to CUDA_ARCHS for RTX 40XX (#6272) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42183ab4fe5d..1ff289b9d045 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)