I think NVIDIA NSight has some support for OpenCL debugging. AMD has another tool called CodeXL which provides debugging and profiling of OpenCL programs.
Currently I mostly use debug printfs and code reviews to do debug. Although I did run some OpenCL code under valgrind once to figure out a pointer handling issue. That was with AMD APP SDK running on the CPU side. If you run the code on the CPU even regular GDB should work, you might not get proper breakpoint settings etc thought since the code is in OpenCL rather than C/C++. On Mon, Aug 8, 2016 at 5:55 AM, Param Hanji <param.catchch...@gmail.com> wrote: > Hello, > > Does anyone know about any tools that can be used for runtime debugging > OpenCL programs? > > I've written some code to complete the boolean weaving on the kernel. It > currently spits out garbage and I need to figure out why. Normally, I would > pass an argument, which I would change in the kernel and then print out its > value to see if certain parts of the code (an if condition block for > example) were processed. This doesn't seem to be working though. > > Thank you > Param Hanji > -- Vasco Alexandre da Silva Costa PhD in Computer Engineering (Computer Graphics) Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
_______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel