On Tue, 13 Dec 2011 17:03:04 -0500, Yifei Li <[email protected]> wrote:
> 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

Are you sure the cuda-gdb version you're using matches your drivers? I
just checked with 4.1rc2 on a GTX260, and it's working fine for me.
Also, what hardware are you on?

Andreas

Attachment: pgp2VoynId293.pgp
Description: PGP signature

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

Reply via email to