4 Replies Latest reply on Sep 9, 2010 12:29 PM by himanshu.gautam

    Debugging OpenCL program ?

    spectral

      Hi,

      I use Visual Studio under Windows XP and would like to know if there are some way to "debug/trace" into an OpenCL kernel/program ?

      I have some complex algorithms and it will be very useful.

      Thanks

        • Debugging OpenCL program ?
          genaganna

          There is no way to debug kernel code presently. you can use printf in kernel code to trace if you are running for CPU.  In beta4, this is working only for Linux.  It will be supported for Windows in upcoming releases.

          is this what you are expecting?

            • Debugging OpenCL program ?
              spectral

              Thanks,

              It is already a way to know what's happen on the OpenCL side ;-)

              The best will be something like Nexus from NVidia, but that will work with any OpenCL compliant device.

              Yes, I'm running from CPU under Windows, but I have to wait for the next release in order to use it then :-(

              Thanks