Known Issues
- For better debugging experience GDB* 7.12 or higher is required.
In cases where an older GDB* version is used, some issues related
to JIT code debugging may occur (such as no automatic breakpoints
reset between runs, fail to stop on a breakpoint for second and other
runs).
- The finish GDB or LLDB* command returns to the same line as a function
call. The finish command should advance an instruction pointer to
the next instruction after the call. It is expected that it will point
to the next line following the line of calling, except when a callee
function returns a value for using. In the case of OpenCL™ kernel
code it points to the same line as the call, even the callee function
is a void one.
- Setting
__local
variables has no effect on program
execution. An attempt to set variables in a local address space has
no effect. The new value is discarded just after the next step.
- Conditional breakpoints on work-items may take too much time to
evaluate. It may take too much time to evaluate conditional breakpoints
depending on a work item number for heavy NDRange kernels. To avoid
such breakpoints the kernel source code can be modified using the
get_global_id
function.