Cycles: Tweak to previous commit, experimental sm_52 works on Linux but not OSX
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 20 Jun 2015 17:01:24 +0000 (19:01 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 20 Jun 2015 17:01:24 +0000 (19:01 +0200)
intern/cycles/kernel/geom/geom_triangle_intersect.h

index 2b7f4d7431f1407cbed6dd82b151ae59db6843ea..2bb9be795915101c540bc27dfd3bea699fb97f97 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