Miro Krsjak
Miro Krsjak

Reputation: 363

Debugging OpenCL on CPU

I'm trying to debug OpenCL kernels on CPU target, following this guide without success. The kernel builds, app runs, but the breakpoints are not hit. There is a statement "The Debugger requires setting the global ID of the work-item to debug before the debugging session starts.", but no information on where to set or how the global ID. Anybody has a working boilerplate project for this or suggestions? thanks!

Upvotes: 2

Views: 389

Answers (1)

user3617308
user3617308

Reputation: 11

Try to debug with Oclgrind https://github.com/jrprice/Oclgrind https://github.com/jrprice/Oclgrind/wiki example: Oclgrind -i ./appl

Upvotes: 1

Related Questions