Cycles: Another fix for OSX, sm_50 experimental actually also fails to compile
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 20 Jun 2015 17:40:23 +0000 (19:40 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 20 Jun 2015 17:40:23 +0000 (19:40 +0200)
Didn't notice it originally because compilation was threaded.

intern/cycles/kernel/geom/geom_triangle_intersect.h

index 2bb9be795915101c540bc27dfd3bea699fb97f97..3ef918dc842483d17481db39982e6e99dadae8ba 100644 (file)
@@ -57,7 +57,7 @@ ccl_device_noinline
 ccl_device_inline
 #    endif  /* __CUDA_ARCH__ > 500 */
 #  else  /* (defined(i386) || defined(_M_IX86)) */
-#    if defined(__KERNEL_EXPERIMENTAL__) && (__CUDA_ARCH__ > 500)
+#    if defined(__KERNEL_EXPERIMENTAL__) && (__CUDA_ARCH__ >= 500)
 ccl_device_noinline
 #    else
 ccl_device_inline