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.
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.
You need to have Intel OpenCL installed.
Open this link: http://software.intel.com/en-us/vcsourc … opencl-sdk
On the right side you’ll see “OpenCL* CPU Only Runtime 2012” - click it, and it should install the SDK.