Is there any way to debug CUDA kernel files (*.cu) under QtCreator (from Qt)?
nVidia nSight present only for VisualStudio and Eclipse, but may be is there a way…hmm maybe for external debugging or something like this? Maybe like “attach to process”?
I mean debbuging into kernel (global).
If you are on linux you should be able to use cuda-gdb on the executable.
txbob, thanks for reply!
I’m on Windows and wanna use QtCreator, because Visual Studio has a lot of problems with Qt, on which I’m programming…
- Is there an official version of cuda-gdb for Windows?
- Can I somehow run NSight CUDA debugger separately from Visual Studio, well, I do not know… how is the external debugger for Qt? Or as “attack ot process”?
- Do you have any plans to create NSight specifically for QtCreator? Qt - very usefull framework, it is used by millions of people around the world…
No, there is no version of cuda-gdb on windows.
On windows, the CUDA debugging facility is built into NSight VSE. It is well documented, but I wouldn’t be able to give you step-by-step instructions for its use within Qt framework.
Ok, thank you! I think I need to change IDE…VisualStudio much more functional and powerful :-)