Test of Cycles/OpenCL on CPU and OpenCL kernel fixes
Open, NormalPublic

Description

This patch has three main goals:

1) Enable OpenCL rendering on CPU for Cycles (device_opencl.cpp).

2) Provide debug information about the OpenCL platform and devices. Could be helpful for understanding OpenCL problems (util_opencl.cpp).

3) Fixes to the OpenCL kernel in order to make it compile on Mac platforms for CPU (kernel.cl, kernel_displace.h, kernel_types.h).
NOTE: I have enabled kernel_ocl_shader in kernel.cl, even though it is not beeing called. It was done to test how the compilation would perform.

Patched againts revision 53178.

I am not sure if any of this is really intended for merging, but it can help someone trying to understand/debug OpenCL on his/her platform.

Regards,
migueletto

Details

Type
Patch

There are some interesting areas in this patch which we can merge into master. Rest of the changes needs to be synchronized with the work happening in D1200.

Assigning to self and will do commits of safe parts of the patch.

Sergey Sharybin (sergey) lowered the priority of this task from "Normal" to "Low".Apr 3 2015, 1:01 PM
Aaron Carlisle (Blendify) raised the priority of this task from "Low" to "Normal".Aug 24 2015, 2:28 AM

Poke, are there still useful areas of this patch

@Aaron Carlisle (Blendify), it's might be, but for now we'd rather focus on fixing issues with the split kernel. I would also ask to leave priority triaging reports to developers, especially if it was explicitly set by a developer.