From 77dde3db08f3869b00b3147a1bf55d7fb0bae87e Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 18 Jun 2012 21:20:11 +0000 Subject: * 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. --- source/blender/compositor/COM_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/compositor/COM_defines.h b/source/blender/compositor/COM_defines.h index 57b73c836df..e11048b23f3 100644 --- a/source/blender/compositor/COM_defines.h +++ b/source/blender/compositor/COM_defines.h @@ -67,7 +67,7 @@ typedef enum CompositorPriority { // chunk size determination #define COM_PREVIEW_SIZE 140.0f -//#define COM_OPENCL_ENABLED +#define COM_OPENCL_ENABLED //#define COM_DEBUG // workscheduler threading models -- cgit v1.2.3