您的位置:首页 > 其它

PyCUDA学习日记1

2016-07-22 17:01 495 查看
通过PyCUDA可以让Python对CUDA进行操作,进行高性能计算,可以用于图形图像、模式识别、机器视觉等。自己在Ubuntu 14.04 Desktop LTS上面进行实验,导入pycuda之前需要安装CUDA [3],Python,PyCUDA [4]等类库。然后会继续深入学习Python,PyCUDA,Theano,TensorFlow,Keras,Caffe等,进而打通Python生态系统。

1. 遇到的问题

遇到的错误,如下所示:

ImportError: libcurand.so.7.5: cannot open shared object file: No such file or directory

解决方案:将/usr/local/cuda/lib64添加到/etc/ld.so.conf中即可。

参考文献:

[1] pycuda 2016.1.1:https://pypi.python.org/pypi/pycuda

[2] PyCUDA:https://mathema.tician.de/software/pycuda/

[3] Setting up a Deep Learning Machine from Scratch:https://github.com/saiprashanths/dl-setup

[4] Installing PyCuda:https://wiki.tiker.net/PyCuda/Installation
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  pycuda