Add code for print errors of OpenCL kernels runing