Add code for print errors of OpenCL kernels running

Add `#define` and code for OpenCL kernel errors checking and printing..
Thank you.