ARM平台安装cuda

2019-10-25  本文已影响0人  MrSunday_8955

对于ARMv8架构的操作系统,cuda最低版本为cuda 6.5
安装步骤如下:
1、下载cuda-toolkit-65,注意选取正确的架构下载。这里下载的包为cuda_6.5.14_linux_aarch64_native.run

      下载界面如下:

image.png
2、安装cuda 6.5,这里选择默认安装路径/usr/local
$ sudo sh ./cuda_6.5.14_linux_aarch64_native.run 
 
Verifying archive integrity... All good.
Uncompressing NVIDIA CUDA..................................................
...
...
========================================

Please make sure that
 -   PATH includes /usr/local/cuda-6.5/bin
 -   LD_LIBRARY_PATH includes /usr/local/cuda-6.5/lib, or, add /usr/local/cuda-6.5/lib to /etc/ld.so.conf and run ldconfig as root

Please read the release notes in /usr/local/cuda-6.5/doc/
To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-6.5/bin
Installation Complete

3、验证安装是否成功

$ export PATH=/usr/local/cuda/bin:$PATH
$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2014 NVIDIA Corporation
Built on Mon_Jun_16_21:01:09_PDT_2014
Cuda compilation tools, release 6.5, V6.5.6

上一篇下一篇

猜你喜欢

热点阅读