On Sonntag 10 Mai 2009, Vincent Favre-Nicolin wrote: > On dimanche 10 mai 2009, Andreas Klöckner wrote: > > Try the command > > > > $ ldd /usr/local/lib/python2.6/dist-packages/pycuda-0.93rc1-py2.6-linux- > > x86_64.egg/pycuda/_driver.so > > > > and see if you're inadvertently linking against a CUDA 2.1 library. That > > symbol *should* be there in 2.2. > > I have only one cuda version installed. > However it may be that I don't have the correct nVidia module for 2.2 - > right now I'm using 180.44 - I guess I have to switch to the new version, > i.e. 185.18.08 'beta' > As 180.44 worked all right with pycuda 0.93 beta I assumed this was all > right but I was probably wrong then - I assume only the new driver > libcuda.so has the "cuMemHostAlloc" symbol. Sorry for the noise. > > Thanks (for your answer and for pycuda - great tool !), > Vincent
0.93 works against older versions of CUDA, too. (down to 1.1) In your case, your compile picked up the *header* file for 2.2, but only the driver library for 2.1. That's why you saw the mismatch. (Part of the problem is that cuda.h gets distributed with both the compiler *and* the driver.) Having non-matching versions of compiler and driver always leads to fun. :) Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
