Cycles: Enable compilation of sm_37 kernels by default
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 28 Jan 2016 10:59:40 +0000 (11:59 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 28 Jan 2016 10:59:40 +0000 (11:59 +0100)
Makes sense to keep support of top-range cards "out of the box".

CMakeLists.txt

index 014401a7b1394848fde1f9b5d9ff53150cbf6b70..ae224f2a53d37051096c4825d9150097b3febaad 100644 (file)
@@ -390,7 +390,7 @@ option(WITH_CYCLES_STANDALONE               "Build Cycles standalone application" OFF)
 option(WITH_CYCLES_STANDALONE_GUI      "Build Cycles standalone with GUI" OFF)
 option(WITH_CYCLES_OSL                         "Build Cycles with OSL support" ${_init_CYCLES_OSL})
 option(WITH_CYCLES_CUDA_BINARIES       "Build Cycles CUDA binaries" OFF)
-set(CYCLES_CUDA_BINARIES_ARCH sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 CACHE STRING "CUDA architectures to build binaries for")
+set(CYCLES_CUDA_BINARIES_ARCH sm_20 sm_21 sm_30 sm_35 sm_37 sm_50 sm_52 CACHE STRING "CUDA architectures to build binaries for")
 mark_as_advanced(CYCLES_CUDA_BINARIES_ARCH)
 unset(PLATFORM_DEFAULT)
 option(WITH_CYCLES_LOGGING     "Build Cycles with logging support" ON)