Hi all,

I followed the tutorial on how to use cuda-gdb
http://wiki.tiker.net/PyCuda/FrequentlyAskedQuestions#Is_it_possible_to_use_cuda-gdb_with_PyCUDA.3F

However, the execution of demo.py does not stop at the breakpoint. Here's
the output:

(cuda-gdb) b doublify
Function "doublify" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (doublify) pending.
(cuda-gdb) r
Starting program: /usr/bin/python -m pycuda.debug demo.py
Breakpoint 2 at 0x2114ff8: file kernel.cu, line 5.
Pending breakpoint "doublify" resolved
*[Launch of CUDA Kernel 0 (doublify<<<(1,1,1),(4,4,1)>>>) on Device
0]*(instead of  [Switching to CUDA Kernel 0 (<<<(0,0),(0,0,0)>>>)])
.....
*Program exited normally.*
(cuda-gdb)

Is there anything I missed? Thanks

Yifei
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to