Cycles: Further tweaks to T43511 to solve compilation error on 32bit platforms

This commit is contained in:
Sergey Sharybin 2015-02-02 22:08:01 +05:00
parent 30e4009f0a
commit 432e478f43

@ -51,7 +51,11 @@ typedef struct IsectPrecalc {
/* Workaround for CUDA toolkit 6.5.16. */ /* Workaround for CUDA toolkit 6.5.16. */
#if defined(__KERNEL_CPU__) || !defined(__KERNEL_CUDA_EXPERIMENTAL__) || __CUDA_ARCH__ < 500 #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 ccl_device_inline
# endif
#else #else
ccl_device_noinline ccl_device_noinline
#endif #endif