No luck with debugging OpenCL kernels using VC2013

No luck with debugging OpenCL kernels using VC2013


I would like to debug my opencl kernel using the opencl debugger plugin within VC2012 (+ Intel SDK for OpenCL Applications 2013; Intel SDK for OpenCL - CPU Only Runtime Package

Here is what I did:

1. Called clBuildProgram with additional options, as mentioned in the documentation:
    clBuildProgram(program, 1, &device, "-g -s C:\\PathToMy\\", NULL, NULL)
2. Enabled the OpenCL debugger, told it to trigger at Dim 0/0/0
3. Started debugging. VC2012 seems to halt, but I can't do any actual debugging.

I've recorded a short screencast (at least 720p is adviseable):

I would be grateful for any idea what is going wrong here.

Thank you in advance, Clemens

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

We are debugging an issue where some users are not able to debug their kernels. I will post here when there is new information.


Can you generate the debug log and attach that here. Set the environment variables


and launch Visual Studio. Continue debugging and you should see the debug log under c:\temp.


Leave a Comment

Please sign in to add a comment. Not a member? Join today