My comupter's configuration is as following:
CPU : Intel(R) Pentium(R) 4 CPU 3.00Hz
Display Adapter : Intel(R) 946GZ Express Chipset Family
OS : Windows XP SP2
I had updated my graphic card driver to let it to support OpenGL 2.0.
And I added one line in the source code to let 'SimpleGL' sample to work totally on CPU(Because there is no extra OpenCL ICD for Intel graphic chip installed in my machine). For detail, see blow:
cl_int status = CL_SUCCESS;
if(deviceType.compare("cpu") == 0)
dType = CL_DEVICE_TYPE_CPU;
else //deviceType = "gpu"
dType = CL_DEVICE_TYPE_GPU;
//>>>>Code I added...
dType = CL_DEVICE_TYPE_ALL;
There is no error occured when I built the sample. When excuting, it also seems okay. But, when I minimalized the window of the sample, the program crashed. I don't know why. Is this a bug of SDK's Lib?