1 Star 0 Fork 0

zhenlingcn/distro

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
travis_cuda_install.sh 713 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sergey Zagoruyko 提交于 2016-05-01 22:23 . Test CUDA builds (#104)
#!/usr/bin/env sh
if [[ `uname` == 'Linux' ]]; then
CUDA_VERSION=6-5
CUDA_URL=http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.5-14_amd64.deb
CUDA_FILE=/tmp/cuda_install.deb
curl $CUDA_URL -o $CUDA_FILE
dpkg -i $CUDA_FILE
rm -f $CUDA_FILE
apt-get -y update
apt-get -y install \
cuda-core-${CUDA_VERSION} \
cuda-cublas-${CUDA_VERSION} \
cuda-cublas-dev-${CUDA_VERSION} \
cuda-cudart-${CUDA_VERSION} \
cuda-cudart-dev-${CUDA_VERSION} \
cuda-curand-${CUDA_VERSION} \
cuda-curand-dev-${CUDA_VERSION} \
cuda-cusparse-${CUDA_VERSION} \
cuda-cusparse-dev-${CUDA_VERSION}
ln -s /usr/local/cuda-6.5 /usr/local/cuda
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhenlingcn/distro.git
git@gitee.com:zhenlingcn/distro.git
zhenlingcn
distro
distro
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385