Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-04-09 01:25:54 +0400
committerThomas Dinges <blender@dingto.org>2014-04-09 01:25:54 +0400
commit297a2223b5535cab21c3758ea10ccb4e0f5668e2 (patch)
treed2146487e02fd4c7ac0e04d3f935bbc3aaf277e2 /intern/cycles/device/device_cuda.cpp
parent5580afb5dfe98771c7db8b0660398c47751c1ade (diff)
Cycles / CUDA: Increase sm_2x registers to 40.
This fixes the ptaxs "ACCESS_VIOLATION" error and should allow our Linux and Windows build bots to compile again. Unfortunately this comes with a performance penalty on sm_2x cards, so this is only a workaround for now. Branched Path is still globally disabled on GPU.
Diffstat (limited to 'intern/cycles/device/device_cuda.cpp')
-rw-r--r--intern/cycles/device/device_cuda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index a5e4ec63699..edee32e6506 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -320,7 +320,7 @@ public:
/* CUDA 5.x build flags for different archs */
if(major == 2) {
/* sm_2x */
- arch_flags = "--maxrregcount=32 --use_fast_math";
+ arch_flags = "--maxrregcount=40 --use_fast_math";
}
else if(major == 3) {
/* sm_3x */