已经安装了CUDA-8.0,仍然出现上述问题,解决方案如下:
添加环境变量,打开~/.bashrc ,添加环境变量如下:
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
export PATH=$PATH:/usr/local/cuda/bin
/
已经安装了CUDA-8.0,仍然出现上述问题,解决方案如下:
添加环境变量,打开~/.bashrc ,添加环境变量如下:
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
export PATH=$PATH:/usr/local/cuda/bin
/