Cycles: Make experimental kernel build option more generic

Previously it was explicitly mentioning it's NVidia kernel related option,
but in fact it's also handy for the OpenCL kernel.
This commit is contained in:
Sergey Sharybin
2015-05-15 12:45:41 +05:00
parent c9e8888f87
commit 2ab909a88c
5 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ typedef struct IsectPrecalc {
} IsectPrecalc;
/* Workaround for CUDA toolkit 6.5.16. */
#if defined(__KERNEL_CPU__) || !defined(__KERNEL_CUDA_EXPERIMENTAL__) || __CUDA_ARCH__ < 500
#if defined(__KERNEL_CPU__) || !defined(__KERNEL_EXPERIMENTAL__) || __CUDA_ARCH__ < 500
# if (defined(i386) || defined(_M_IX86))
ccl_device_noinline
# else