Hi, i need to use cuda-gdb.
Does anyone know how to configure it in Eclipse (cdt)?
I just changed gdb to /usr/local/cuda/bin/cuda-gdb in a textbox located in debug configurations->debugger->debugger options->main (tab)->GDB debugger and i get this error:
‘Launching myProgram’ has encountered a problem.
Error creating session
In the details i get this error 3 times:
/usr/local/cuda/bin/cuda-gdb: error while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory.
This is my line in the makefile:
nvcc -g -G --compiler-bindir $(HOME)/bin -c -arch sm_11 --device-emulation paralelLayer.cu
So, as you can see, i’m using device emulation. In a near future i would like to run the program in a CUDA capable desktop computer using ssh and keep on developing in my laptop. Is it possible to debug a program running on the desktop through Eclipse running on my laptop?
Anyway, right now i just want to debug in the emulation mode. Any help with that will be great.