Awesome, thanks Andreas ! Indeed test_driver.py works perfectly now.
test_gpuarray.py still fails 10 out of 23, are they the same reason ?
[output attached if you want to have a look].

In any case, that means that the GPU is indeed working good, and that
so does pyCUDA, then, thank you !
Have fun in SIAM meeting -- here, enjoying SAMSI Summer Workshop,
where the possibilities of GPU to speed-up Bayesian analysis of
Pharmacokinetics/Pharmacodynamics (PK/PD) data seem to have interested
the PK/PD people, often bothered by the amount of time required by
Monte-Carlo methods.

Cheers,

Julien

On Fri, Jul 16, 2010 at 12:07 PM, Andreas Kloeckner
<[email protected]> wrote:
> 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
>
>

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

Reply via email to