Cycles: Add CUDA support for sm_32 (Tegra K1, Jetson TK1).
Fix T42174.
This commit is contained in:
parent
9d078f2916
commit
858bf1adea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user