diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-05 13:29:26 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-05 13:31:48 +0400 |
commit | 0106b94f9d691245c54fd906e43ae8ee94b527a4 (patch) | |
tree | 9c56b5d2be4fc3cd72dc0c51f6c22ac393c26922 /intern/cycles/device | |
parent | 15af15eb56b79188099a00a01c38e545b6533436 (diff) |
Cycles: Fix for debug kernel not working with CUDA
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/device_cuda.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index bd265f0fdad..44be7779891 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -278,6 +278,10 @@ public: if(experimental) command += " -D__KERNEL_CUDA_EXPERIMENTAL__"; +#ifdef WITH_CYCLES_DEBUG + command += " -D__KERNEL_DEBUG__"; +#endif + printf("%s\n", command.c_str()); if(system(command.c_str()) == -1) { |