Revision: 49142
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49142
Author:   nazgul
Date:     2012-07-23 13:56:30 +0000 (Mon, 23 Jul 2012)
Log Message:
-----------
Correction to own previous commit

Modified Paths:
--------------
    branches/soc-2011-tomato/intern/cycles/device/device_cuda.cpp

Modified: branches/soc-2011-tomato/intern/cycles/device/device_cuda.cpp
===================================================================
--- branches/soc-2011-tomato/intern/cycles/device/device_cuda.cpp       
2012-07-23 13:51:29 UTC (rev 49141)
+++ branches/soc-2011-tomato/intern/cycles/device/device_cuda.cpp       
2012-07-23 13:56:30 UTC (rev 49142)
@@ -531,6 +531,8 @@
                cuda_assert(cuFuncSetBlockShape(cuPathTrace, xthreads, 
ythreads, 1))
                cuda_assert(cuLaunchGrid(cuPathTrace, xblocks, yblocks))
 
+               cuda_assert(cuCtxSynchronize())
+
                cuda_pop_context();
        }
 
@@ -840,10 +842,6 @@
                                        }
 
                                        path_trace(tile, sample);
-
-                                       cuda_push_context();
-                                       cuda_assert(cuCtxSynchronize())
-                                       cuda_pop_context();
                                }
 
                                task->release_tile(tile);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to