forked from bartvdbraak/blender
Cycles: Make CUDA backend aware of sm_52 (Maxwell).
In order to compile the new kernel you need to specify sm_52 in SCons / CMake, and use CUDA Toolkit 6.5.19, from here: https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx Note: sm_52 is not enabled per default yet, so it won't be bundled with the Buildbot builds. That will be addressed later.
This commit is contained in:
parent
fe731686fb
commit
38a54f4e01
@ -52,8 +52,8 @@
|
||||
#define CUDA_KERNEL_MAX_REGISTERS 63
|
||||
#define CUDA_KERNEL_BRANCHED_MAX_REGISTERS 63
|
||||
|
||||
/* 5.0 */
|
||||
#elif __CUDA_ARCH__ == 500
|
||||
/* 5.0 and 5.2 */
|
||||
#elif __CUDA_ARCH__ == 500 || __CUDA_ARCH__ == 520
|
||||
#define CUDA_MULTIPRESSOR_MAX_REGISTERS 65536
|
||||
#define CUDA_MULTIPROCESSOR_MAX_BLOCKS 32
|
||||
#define CUDA_BLOCK_MAX_THREADS 1024
|
||||
|
Loading…
Reference in New Issue
Block a user