I am learning OpenCL, wanted to add some debug log or some print messages in the kernel so that I will get to know what is happening. I was looking into examples but did not get something worth.
Any pointer/suggestion will be realy helpfull.
do you mean something like printf()? look into cl_amd_printf extension. or maybe you want compile log then look at clGetProgramBuildInfo() function