forked from bartvdbraak/blender
Cycles: Revert recent inline changes for CUDA 8 and sm_50+
This changes actually lead to 2x slowdown. It's getting a bit annoying because those are the changes to make pre-maxwell cards render with the same speed.
This commit is contained in:
parent
70100b4ec7
commit
960db4c961
@ -36,7 +36,11 @@
|
||||
/* Qualifier wrappers for different names on different devices */
|
||||
|
||||
#define ccl_device __device__ __inline__
|
||||
#define ccl_device_inline __device__ __forceinline__
|
||||
#if (__KERNEL_CUDA_VERSION__ == 80) && (__CUDA_ARCH__ < 500)
|
||||
# define ccl_device_inline __device__ __forceinline__
|
||||
#else
|
||||
# define ccl_device_inline __device__ __inline__
|
||||
#endif
|
||||
#define ccl_device_noinline __device__ __noinline__
|
||||
#define ccl_global
|
||||
#define ccl_constant
|
||||
|
Loading…
Reference in New Issue
Block a user