From a Python terminal (python2 or python3):
>>> import pycuda.autoinit Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/pycuda/autoinit.py", line 4, in <module> cuda.init() pycuda._driver.Error: cuInit failed: unknown
This worked in Ubuntu 12.04, fails in Ubuntu 12.10.
I can manually compile and run at least this example (devicequery):
http://www.cac.cornell.edu/vw/gpu/example_submit.aspx
and my system is using the proprietary NVIDIA drivers, so CUDA appears to be configured properly on my system.
ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: python-pycuda 2014.1-2 ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4 Uname: Linux 3.16.0-24-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 CurrentDesktop: Unity Date: Fri Oct 31 11:47:39 2014 InstallationDate: Installed on 2011-03-04 (1337 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110301.7) SourcePackage: pycuda UpgradeStatus: No upgrade log present (probably fresh install)
From a Python terminal (python2 or python3):
>>> import pycuda.autoinit python2. 7/dist- packages/ pycuda/ autoinit. py", line 4, in <module> _driver. Error: cuInit failed: unknown
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
cuda.init()
pycuda.
This worked in Ubuntu 12.04, fails in Ubuntu 12.10.
I can manually compile and run at least this example (devicequery):
http:// www.cac. cornell. edu/vw/ gpu/example_ submit. aspx
and my system is using the proprietary NVIDIA drivers, so CUDA appears to be configured properly on my system.
ProblemType: Bug ature: Ubuntu 3.16.0- 24.32-generic 3.16.4 dules: nvidia
DistroRelease: Ubuntu 14.10
Package: python-pycuda 2014.1-2
ProcVersionSign
Uname: Linux 3.16.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Oct 31 11:47:39 2014
InstallationDate: Installed on 2011-03-04 (1337 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110301.7)
SourcePackage: pycuda
UpgradeStatus: No upgrade log present (probably fresh install)