Rafael Espericueta <[email protected]> writes:

> I used the ubuntu software center to install python-pycuda, but when I try
> to run:
>
>     examples/hello_gpu.py
>
> I get the error message:
>
>       cuda.init()
>       RuntimeError: cuInit failed: no device
>
> In trying to get to a starting point for programming the CUDA cores, I
> destroyed one Ubuntu system (I'll have to reinstall Ubuntu on that one).
> Now I don't want to mess up my new laptop too.  So this time I tried out
> the Ubuntu Software center instead of doing it all from the command line.
> I didn't really expect this to work (that would be too easy!), but it was
> worth a try.

This might be a simple permissions issue--do you have write permission
to /dev/nvidia*?

Andreas

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

Reply via email to