For cross-compilation purpose.
We use Ubuntu 16.04.

echo "deb [ trusted=yes ] http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list
apt update
apt install nvidia-cuda-toolkit
posted on 2019-12-05 11:12  赵丰数33  阅读(132)  评论(0编辑  收藏  举报