diff options
author | Thomas Dinges <blender@dingto.org> | 2014-09-25 22:03:46 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-09-25 22:07:50 +0400 |
commit | 38a54f4e01d627bb4489cfdbe9d844a89a9bc656 (patch) | |
tree | 59a6989ffc95ac622414df9eed15bcb1cc271db7 /intern | |
parent | fe731686fb31b6c3781867d93219b8e0a3a55824 (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernel.cu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel.cu b/intern/cycles/kernel/kernel.cu index d5b5293664c..9ed4592f604 100644 --- a/intern/cycles/kernel/kernel.cu +++ b/intern/cycles/kernel/kernel.cu @@ -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 |