debuggingcudansightcuda-gdbjcuda

Debug JCuda program



I'd like to know what is the best debugger for a JCuda project (if exists).
I know that for normal CUDA applications there are tools like cuda-gdb and cuda-memcheck and I wonder if I can use any of them or similar ones for a JCuda project.
Thank you!


Solution

  • You should be able to use regular CUDA debugger (e.g. Nsight or cuda-gdb) to debug the GPU code in your JCuda application. You can use Java debuggers (e.g. Eclipse) to debug Java code. There is no debugger that can seamlessly debug Java and CUDA code though.