< >
Home » TX1入门教程软件篇 » TX1入门教程软件篇-安装CUDA

TX1入门教程软件篇-安装CUDA

TX1入门教程软件篇-安装CUDA7

说明:

  • 介绍如何在TX1安装CUDA7

步骤:

sudo dpkg -i cuda-repo-l4t-r23.1-7-0-local_7.0-73_armhf.deb  
  • 安装cuda仓库,然后执行:
sudo apt-get update  
sudo apt-get install cuda-toolkit-7-0  
  • 更新系统并进行安装,安装完后,执行:
cat << END >> ~/.bashrc  
# Add 32-bit CUDA library & binary paths:
export PATH=/usr/local/cuda-7.0/bin:\$PATH  
export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib:\$LD_LIBRARY_PATH  
END  
  • 更新环境并执行:
source  ~/.bashrc  
  • 检查是否成功:
ubuntu@tegra-ubuntu:~$ nvcc --version  
nvcc: NVIDIA (R) Cuda compiler driver  
Copyright (c) 2005-2015 NVIDIA Corporation  
Built on Sun_Nov_15_11:52:02_CST_2015  
Cuda compilation tools, release 7.0, V7.0.72  

参考:

  • http://blog.rongpmcu.com/nvidia-tx1shi-yong-ji-lu-ji-ben-huan-jing-da-jian/

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: tx1入门教程软件篇