From 7fca0ee76a3ba49519075d1833207b8d877cde43 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 15 Jun 2023 14:44:57 +0200 Subject: [PATCH] Cycles: Increase the compute model for the PTX kernel Keep the PTX compute capability at the same level as the latest architecture-optimized CUDA kernel. Should help performance of the future cards when running older Blender, and maybe will allow to perform JIT optimization faster. Pull Request: https://projects.blender.org/blender/blender/pulls/109007 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1861d941c20..815c456998c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -506,7 +506,7 @@ if(NOT APPLE) mark_as_advanced(WITH_CYCLES_DEVICE_CUDA) option(WITH_CYCLES_CUDA_BINARIES "Build Cycles NVIDIA CUDA binaries" OFF) - set(CYCLES_CUDA_BINARIES_ARCH sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 CACHE STRING "CUDA architectures to build binaries for") + set(CYCLES_CUDA_BINARIES_ARCH sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_89 CACHE STRING "CUDA architectures to build binaries for") option(WITH_CYCLES_CUDA_BUILD_SERIAL "Build cubins one after another (useful on machines with limited RAM)" OFF) option(WITH_CUDA_DYNLOAD "Dynamically load CUDA libraries at runtime (for developers, makes cuda-gdb work)" ON)