Cycles: Fix for debug kernel not working with CUDA

This commit is contained in:
2014-10-05 15:29:26 +06:00
parent 15af15eb56
commit 0106b94f9d
2 changed files with 5 additions and 1 deletions

View File

@@ -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) {