PDA

View Full Version : Running openCL on CPU



yebethinks
10-04-2012, 07:44 AM
Hello,

I have a set of kernels currently running on GPU, and do I simply set "CL_DEVICE_TYPE_CPU" in both "clGetDeviceIDs" and "clCreateContextFromType" if I want to run it in CPU? I'm running on the intel platform.

thanks.

ofer_rose
10-04-2012, 03:24 PM
You need to have Intel OpenCL installed.

Open this link: http://software.intel.com/en-us/vcsourc ... opencl-sdk (http://software.intel.com/en-us/vcsource/tools/opencl-sdk)
On the right side you'll see "OpenCL* CPU Only Runtime 2012" - click it, and it should install the SDK.