CUDA
authorThomas Dinges <blender@dingto.org>
Sun, 4 Dec 2011 10:45:25 +0000 (10:45 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 4 Dec 2011 10:45:25 +0000 (10:45 +0000)
* Added CUDA Binaries to Windows scons config files, disabled by default.
Also the path to nvcc is commented out, best to set this in the user config, as it varies on each system probably.

build_files/scons/config/win32-vc-config.py
build_files/scons/config/win64-vc-config.py

index 7295a16c4bc90976dbefb3255961e6f8fbc2772c..a2e3d11c244a09b2a1597b0eae8686faf6dc77a5 100644 (file)
@@ -165,6 +165,11 @@ BF_BOOST_INC = '${BF_BOOST}/include'
 BF_BOOST_LIB = 'libboost_date_time-vc90-mt-s-1_47 libboost_filesystem-vc90-mt-s-1_47 libboost_regex-vc90-mt-s-1_47 libboost_system-vc90-mt-s-1_47 libboost_thread-vc90-mt-s-1_47'
 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
 
+#CUDA
+WITH_BF_CYCLES_CUDA_BINARIES = False
+#BF_CYCLES_CUDA_NVCC = "" # Path to the nvidia compiler
+BF_CYCLES_CUDA_BINARIES_ARCH = ['sm_13', 'sm_20', 'sm_21']
+
 #Ray trace optimization
 WITH_BF_RAYOPTIMIZATION = True
 BF_RAYOPTIMIZATION_SSE_FLAGS = ['/arch:SSE']
index eb04d9f6403219ed1fbd18759e21a7f5562b1eeb..74a526a59f71966c8314b1e073d76c8d8182af07 100644 (file)
@@ -154,6 +154,7 @@ WITH_BF_3DMOUSE = True
 
 WITH_BF_OPENMP = True
 
+#Cycles
 WITH_BF_CYCLES = True
 
 WITH_BF_OIIO = True
@@ -169,6 +170,11 @@ BF_BOOST_INC = '${BF_BOOST}/include'
 BF_BOOST_LIB = 'libboost_date_time-vc90-mt-s-1_47 libboost_filesystem-vc90-mt-s-1_47 libboost_regex-vc90-mt-s-1_47 libboost_system-vc90-mt-s-1_47 libboost_thread-vc90-mt-s-1_47'
 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
 
+#CUDA
+WITH_BF_CYCLES_CUDA_BINARIES = False
+#BF_CYCLES_CUDA_NVCC = "" # Path to the nvidia compiler
+BF_CYCLES_CUDA_BINARIES_ARCH = ['sm_13', 'sm_20', 'sm_21']
+
 #Ray trace optimization
 WITH_BF_RAYOPTIMIZATION = True
 BF_RAYOPTIMIZATION_SSE_FLAGS = ['/arch:SSE','/arch:SSE2']