From 480b814e029e72ce790737741aca3f123666bd8a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 16 Feb 2016 17:25:58 +0100 Subject: Cycles: Remove back some tweaks for inline policies While kernel compiles fine, it seems generated binary is not really correct. --- intern/cycles/kernel/kernel_accumulate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/kernel/kernel_accumulate.h') diff --git a/intern/cycles/kernel/kernel_accumulate.h b/intern/cycles/kernel/kernel_accumulate.h index 4c7517658d0..29eca865384 100644 --- a/intern/cycles/kernel/kernel_accumulate.h +++ b/intern/cycles/kernel/kernel_accumulate.h @@ -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 -- cgit v1.2.3