I've tried to follow all the instructions for setting up Code-Builder to debug our OpenCL code in Visual Studio 2015 in x64 Windows (we currently debug our Linux code using the Ubuntu IDEs we use simply start working as soon as we add the Intel drivers and select the CPU device for processing).
- I added the Windows Intel OpenCl platform. Once I did that I get both CPU and GPU devices enabled in our app and can indeed render our images in the Gpu and Cpu (I can tell given the 100x speed difference!)
- I installed the OpenCL SDK
- I updated the OpenCL.dll in SYSWOW64 as instructed in another post
- I enabled Code-Builder->Debugger->Options->Enable...CPU device (although I have no idea how to set the 'Work Items'). It popped up a firewall warning the first time I attempted a run but after I told the firewall dialogue to ignore that, I got no more complaints.
- I made sure my path to the cl files was set to the full path when compiled and opened those files in VS to set the breakpoints
But even with all this I keep getting the following exception:
Exception thrown at 0x00007FFA49154AB3 (OclCpuDebugging2.dll) in XXX.exe: 0xC0000005: Access violation reading location 0x0000000000000010.
I think I've reviewed most of the commentary and advice on this blog. Any suggestions?
Steve