Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
673 Views

How to debug the work item which global id is not 0? Using the emulator.

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.
0 Kudos
1 Reply
Highlighted
Valued Contributor III
21 Views

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.
0 Kudos