We enjoy profiling OpenCL 1.2 code with CodeXL on our Ubuntu 14.04 system. CodeXL has helped us speed up one kernel 9x
While the GPU Profiling & Timeline functions work on our code, we cannot get the debugging & breakpoints to work properly. We can set a breakpoint in a kernel, but it doesn't stop at the proper line in our code or allow us to look at the memory inside the kernel. We can however get the debugger to work on the Teapot example, so this should mean that our SDK & drivers are OK. How can debugging work on the Teapot but not our code? Do we need to set some compiler flags to enable debugging?