Cycles: Remove back some tweaks for inline policies
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 16 Feb 2016 16:25:58 +0000 (17:25 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 16 Feb 2016 16:25:58 +0000 (17:25 +0100)
While kernel compiles fine, it seems generated binary is not really correct.

intern/cycles/kernel/kernel_accumulate.h

index 4c75176..29eca86 100644 (file)
@@ -55,7 +55,7 @@ ccl_device_inline void bsdf_eval_init(BsdfEval *eval, ClosureType type, float3 v
 }
 
 /* TODO(sergey): This is just a workaround for annoying 6.5 compiler bug. */
-#if !defined(__KERNEL_CUDA__) || __CUDA_ARCH__ < 520
+#if !defined(__KERNEL_CUDA__) || __CUDA_ARCH__ < 500
 ccl_device_inline
 #else
 ccl_device_noinline