[Bf-blender-cvs] [a3793f5] master: Cycles: Enable compilation of sm_37 kernels by default

Sergey Sharybin noreply at git.blender.org
Thu Jan 28 12:29:01 CET 2016


Commit: a3793f5e0be3ad762f2935f321f546fc38668d63
Author: Sergey Sharybin
Date:   Thu Jan 28 11:59:40 2016 +0100
Branches: master
https://developer.blender.org/rBa3793f5e0be3ad762f2935f321f546fc38668d63

Cycles: Enable compilation of sm_37 kernels by default

Makes sense to keep support of top-range cards "out of the box".

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 014401a..ae224f2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)




More information about the Bf-blender-cvs mailing list