How to debug the work item which global id is not 0? Using the emulator.Using gdb to debug the host program and the kernels, I can break in the kernel code. But I can only debug the 0 work item. So I want to debug any work items not only the item whose global id is 0.
I have solved my question.When breaking at the work-item 0, continue running and it will break at the work-item 1. Because the Emulator implement actual serial execution instead of parallel execution.