1 Reply Latest reply on Jan 3, 2011 7:32 AM by himanshu.gautam

    Help! 'SimpleGL' sample of ATi Stream SDK v2.2 crashes when window is minimalized.


      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:


      int SimpleGL::setupCL()


          cl_int status = CL_SUCCESS;


          cl_device_type dType;


          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?