is any way to debug the kernel code in VS?
HI, lately I am facing a problem where I need to debug a module of software. this module is including Cloo lib. , which is called loop by loop. however, when i was running this module (VS2015, debug mode), unpredictable "error exit" always happended after a stable running (3mins or so), without any error infomations or exception stop (yes, it directly exited). so I need to find a method to debug what is wrong with my code. is there any tools or plug-ins in Visual Studio that I can use to debug? or any software can test my module?
I am trying codeXL, but cannot import this project in codeXL so far.
Regards, MIAHU
You can try "Intel® SDK For OpenCL"
I did not get kernel debugging to work with Cloo, but I did not try for a longer time now.
However, if you loop the same kernel and it works for 3 minutes before crashing I think it is unlikely that the reason is a bug in your kernel. Are you allocating any resources inside your loop? Are you receiving events in your loop that are not disposed? Does your crash happen if you replace your kernel with an empty one?