[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48060] trunk/blender/source/blender/ compositor/COM_defines.h: * Enabled OpenCL for the compositor

Jeroen Bakker j.bakker at atmind.nl
Mon Jun 18 23:20:13 CEST 2012


Revision: 48060
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48060
Author:   jbakker
Date:     2012-06-18 21:20:11 +0000 (Mon, 18 Jun 2012)
Log Message:
-----------
 * Enabled OpenCL for the compositor

Tested on:
   - Windows32 ATI V5800
   - Linux64 GTX360M
   - Linux64 Quadro FX360M

The ATI is much more stable as the Nvidia platforms. We have tested
a different scheduling that will speed up for AMD (not checked in yet)

It compiles on all platforms, but fails on our MAC book Pro.
Black lines are produced on the top of a opencl workgroup.

By using localworksize we were able to remove these lines, but 
are not satisfied at this solution (so will not check this in yet).

Please everyone check if it works on your configuration and add 
Bugs when needed.

To test you need to add a BokehBlur to your scene and enable the
OpenCL flag in the property panel.

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/COM_defines.h

Modified: trunk/blender/source/blender/compositor/COM_defines.h
===================================================================
--- trunk/blender/source/blender/compositor/COM_defines.h	2012-06-18 20:50:35 UTC (rev 48059)
+++ trunk/blender/source/blender/compositor/COM_defines.h	2012-06-18 21:20:11 UTC (rev 48060)
@@ -67,7 +67,7 @@
 
 // chunk size determination
 #define COM_PREVIEW_SIZE 140.0f
-//#define COM_OPENCL_ENABLED
+#define COM_OPENCL_ENABLED
 //#define COM_DEBUG
 
 // workscheduler threading models




More information about the Bf-blender-cvs mailing list