Cycles CUDA: use fewer registers for sm_50 cards for better performance.

This commit is contained in:
Brecht Van Lommel 2014-05-27 15:09:00 +02:00
parent 69c7522b24
commit 55e4454db8
1 changed files with 1 additions and 1 deletions

View File

@ -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 */