[Bf-blender-cvs] [de06724] master: Add support for compiling the cuda kernel on the Nvidia Jetson TX1

Martijn Berger noreply at git.blender.org
Mon Dec 7 17:51:37 CET 2015


Commit: de0672436bf109c85da6b8f019c38a478c7cc905
Author: Martijn Berger
Date:   Mon Dec 7 17:51:24 2015 +0100
Branches: master
https://developer.blender.org/rBde0672436bf109c85da6b8f019c38a478c7cc905

Add support for compiling the cuda kernel on the Nvidia Jetson TX1

===================================================================

M	intern/cycles/kernel/kernels/cuda/kernel.cu

===================================================================

diff --git a/intern/cycles/kernel/kernels/cuda/kernel.cu b/intern/cycles/kernel/kernels/cuda/kernel.cu
index bcd55b8..3929b67 100644
--- a/intern/cycles/kernel/kernels/cuda/kernel.cu
+++ b/intern/cycles/kernel/kernels/cuda/kernel.cu
@@ -65,8 +65,8 @@
 #define CUDA_KERNEL_MAX_REGISTERS 63
 #define CUDA_KERNEL_BRANCHED_MAX_REGISTERS 63
 
-/* 5.0 and 5.2 */
-#elif __CUDA_ARCH__ == 500 || __CUDA_ARCH__ == 520
+/* 5.0, 5.2 and 5.3 */
+#elif __CUDA_ARCH__ == 500 || __CUDA_ARCH__ == 520 || __CUDA_ARCH__ == 530
 #define CUDA_MULTIPRESSOR_MAX_REGISTERS 65536
 #define CUDA_MULTIPROCESSOR_MAX_BLOCKS 32
 #define CUDA_BLOCK_MAX_THREADS 1024




More information about the Bf-blender-cvs mailing list