Q:

Monitor progress in OpenCL kernel

I'd like to create a progress bar for a program that I wrote with OpenCL.
Is there a way, to emit some kind of signal from the kernel, if one work-item is completed?
Or any way, to show the progress?

A:

No, there is no way to know how many Work-Groups/Items have completed the execution.
If you need a progress bar is probably because it is either VERY slow, or you have a lot of data to process.
If your OpenCL app is very slow I would suggest you to optimize it, since it shouldn't take more than 1 second to complete a call.
However, if you have a lot of data to process, then you can split up the work in small chunks. Then you can track the completion of these chunks.

