- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page