Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Breakpoints not working in VS2012

$
0
0

  ↵

I have added the appropriate flags to my clBuildProgram call, and enabled OpenCL Kernel Debugging in the appropriate dialog, and added my .cl file to the 'OpenCL Files' folder of the project (specifically, the one project of my solution which makes OpenCL calls - this project is a static library which is used by other projects of my solution).     Despite this, attempting to add breakpoints to my ".cl" file results the hollow red breakpoint circle, rather than a solid one - hovering over this results in a pop-up reading "The breakpoint will not currently be hit. No symbols have been loaded for this document".     I am using CMake for my project, which results in a slightly odd looking Visual Studio solution. This is shown in one of the attached screenshots.     Have I missed a step, or should this work?   I am using VS2012 in Windows 7 64-bit.

Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>