Hi Julien, On Fri, 9 Jul 2010 21:16:36 -0700, Julien Cornebise <[email protected]> wrote: > New to pyCuda, and very excited by the possibilities, I'm > unfortunately having a LaunchError problem with test_driver.py. I have > tried to trace it down using printf() and such, and it seems that the > last push over the cliff is in cuda.hpp > context::prepare_context_switch(), line 505, a cuCtxPopCurrent returns > CUDA_LAUNCH_FAILED -- although CUDA 3.1 Reference Manual p. 412 does > not list it as a possible return but adds that it "may also return > error codes from previous, asynchronous launches.", which I hence > assume is the case. > > My rusted C/C++ skills do not allow me to go further, nor to be even > sure that's the real problem. > > I'm using PyCUDA as checked out from git tonight, and Cuda 3.1 on > Linux Ubuntu 10.04, with Python 2.6.5, and a brand new Geforce GTX > 470. > The GPU is fully functioning: I run all CUDA SDK's examples without a problem. > I also run pyCUDA test_math.py with no problem. (20 passed) > Attached is the output of running > python test_driver.py &>> out > with CUDA_TRACE = 1. > > That's how far I've been able to go by myself, so now I'm turning to > you: any help much welcome, thank you ! :)
Sorry for the late reply--at SIAM AN10 currently. (Btw Bryan: I'll be at your talk later. Anyone else want to meet up?) This should be fixed in git--Fermi GPUs apparently minds misaligned access, which was what one test in there was doing. HTH, Andreas
pgpT0D3o3ccPz.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
