We are using the NVIDIA's OpenCL conformant 1.0 SDK to develop an application. We are compiling the OpenCL code and getting the ".ptx" files as binaries ( different devices have different formats ). When we try to run the code we get an "CL_OUT_OF_RESOURCES (-5)" error. Therefore there is a problem with device capabilities. How can we learn which property had caused the error ? Is there a possibility to propagate device specific error to the application level ?