diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-05-27 17:09:00 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-05-27 17:11:32 +0400 |
commit | 55e4454db8edac58c3d64271d84263e5bb5e9c29 (patch) | |
tree | 1db77393a79710c3145868015c2f63819211911a | |
parent | 69c7522b2463245ef16ebcf2806645c78e83b4df (diff) |
Cycles CUDA: use fewer registers for sm_50 cards for better performance.
-rw-r--r-- | intern/cycles/kernel/kernel.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel.cu b/intern/cycles/kernel/kernel.cu index bb20819f6fc..69c2600ea98 100644 --- a/intern/cycles/kernel/kernel.cu +++ b/intern/cycles/kernel/kernel.cu @@ -61,7 +61,7 @@ /* tunable parameters */ #define CUDA_THREADS_BLOCK_WIDTH 16 -#define CUDA_KERNEL_MAX_REGISTERS 63 +#define CUDA_KERNEL_MAX_REGISTERS 40 #define CUDA_KERNEL_BRANCHED_MAX_REGISTERS 63 /* unknown architecture */ |