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!
Asked
Active
Viewed 288 times
2
-
Update, after desparation, I tried VS 2015 + older Opencl SDK from intel and that actually adds a "Code builder" menu to the Visual Studio. So I was missing that part in the VS2017 install. However, problem persists, I set the global ID of interest, breakpoint gets not hit. – Miro Krsjak Feb 19 '20 at 08:03
1 Answers
1
Try to debug with Oclgrind https://github.com/jrprice/Oclgrind https://github.com/jrprice/Oclgrind/wiki example: Oclgrind -i ./appl

user3617308
- 11
- 2
-
Will try, really thought of an integrated solution, but this is better than nothing, thank you. – Miro Krsjak Feb 21 '20 at 07:38