forked from bartvdbraak/blender
Cycles: Further tweaks to T43511 to solve compilation error on 32bit platforms
This commit is contained in:
parent
30e4009f0a
commit
432e478f43
@ -51,7 +51,11 @@ typedef struct IsectPrecalc {
|
||||
|
||||
/* Workaround for CUDA toolkit 6.5.16. */
|
||||
#if defined(__KERNEL_CPU__) || !defined(__KERNEL_CUDA_EXPERIMENTAL__) || __CUDA_ARCH__ < 500
|
||||
# if (defined(i386) || defined(_M_IX86)) && (__CUDA_ARCH__ > 500)
|
||||
ccl_device_noinline
|
||||
# else
|
||||
ccl_device_inline
|
||||
# endif
|
||||
#else
|
||||
ccl_device_noinline
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user