Cycles: Remove back some tweaks for inline policies

While kernel compiles fine, it seems generated binary is not really correct.
This commit is contained in:
Sergey Sharybin 2016-02-16 17:25:58 +01:00
parent b82538d3b7
commit 480b814e02
Notes: blender-bot 2023-02-14 10:35:28 +01:00
Referenced by issue #47426, GPU render fails with 'illegal address in cuCtxSynchronize' when using 2nd GPU
1 changed files with 1 additions and 1 deletions

View 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