Cycles: Add CUDA support for sm_32 (Tegra K1, Jetson TK1).

Fix T42174.
This commit is contained in:
Thomas Dinges 2014-10-12 18:16:46 +02:00
parent 9d078f2916
commit 858bf1adea
Notes: blender-bot 2023-02-14 09:57:47 +01:00
Referenced by issue #42198, Linked lines only work with linked objects
Referenced by issue #42174, CUDA compute capacity 3.2 for the gk20a GPU of the Tegra K1 ARM SoC
1 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,18 @@
#define CUDA_KERNEL_MAX_REGISTERS 63
#define CUDA_KERNEL_BRANCHED_MAX_REGISTERS 63
*/ 3.2 */
#elif __CUDA_ARCH__ == 320
#define CUDA_MULTIPRESSOR_MAX_REGISTERS 32768
#define CUDA_MULTIPROCESSOR_MAX_BLOCKS 16
#define CUDA_BLOCK_MAX_THREADS 1024
#define CUDA_THREAD_MAX_REGISTERS 63
/* tunable parameters */
#define CUDA_THREADS_BLOCK_WIDTH 16
#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
#define CUDA_MULTIPRESSOR_MAX_REGISTERS 65536