nvcc fatal : Path to libdevice library not specified

安装完成后,配置环境变量,在home下的.bashrc中加入

export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

export CUDA_HOME=/usr/local/cuda:$CUDA_HOME

source ~/.bashrc

posted @ 2020-07-03 14:47  yunshangyue  阅读(1853)  评论(0编辑  收藏  举报