I have just started learning opencl programming and following through the "opencl programming book".
While query the number of platforms from my system, i only get the GPU device but not the CPU.
And if try to get the cpu explicitly as follows:
Code :errNum = clGetDeviceIDs( platformIDs[i], CL_DEVICE_TYPE_CPU, 0, NULL, &numDevices);
I get the answer no cpu device found.
I would like to know what i am missing in the process. I have a cpu device in the system i am working on. It is Intel core i7 and gpu device nvidia geforce gtx 560M.
Any hint to resolve this issue ?