On Sun, 31 Jul 2011 15:41:36 -0700, "Eli Stevens (Gmail)" <wickedg...@gmail.com> wrote: > This is a sorta-cross-post from stack overflow: > > http://stackoverflow.com/questions/6892280/how-do-i-diagnose-a-cuda-launch-failure-due-to-being-out-of-resources > > I'm getting an out-of-resources error when trying to launch a CUDA > kernel (through PyCUDA), and I'm wondering if it's possible to get the > system to tell me which resource it is that I'm short on. Obviously > the system knows what resource has been exhausted, I just want to > query that as well.
What it likely means to say is that your kernel caused a segmentation fault. Check the output of 'dmesg'. If it says something like 'Nv Xid 13' (from memory, may be wrong--the 13 is what says 'segfault', I think), then that's what it is. Have you tried chopping your kernel down to almost-nothing? Bisected? HTH, Andreas
pgpxaX3iH7JCq.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda