- sudo rpm -i cuda-repo-rhel7-8-0-local-ga2-8.0.61-1.x86_64.rpm
- sudo yum clean all
- sudo yum install cuda
安裝完之後,要修改一下環境變數:
- export PATH=/usr/local/cuda-8.0/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH
然後參照《安裝CUDA到Mac上》上面測試CUDA samples
_EOF_
沒有留言:
張貼留言