gDEBugger can help you to some extent (but never used it), but other than that there is no tool I know about that can set breakpoints or check variables inside the kernel. Perhaps try to keep intermediate exits from your kernel if it is a long kernel. Sorry, I canβt give you the magic solution, debugging OpenCL is just hard.
chippies
source share