File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,11 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" = "cu110" ]; then
102102 sudo dpkg -i cuda-repo-ubuntu1804-11-0-local_11.0.3-450.51.06-1_amd64.deb
103103 sudo apt-key add /var/cuda-repo-ubuntu1804-11-0-local/7fa2af80.pub
104104 sudo apt update -qq
105+ echo " SEARCH 1"
106+ sudo apt search cuda
107+ echo " SEARCH 2"
108+ sudo apt-cache search cuda
109+ echo " END"
105110 sudo apt install cuda
106111 sudo apt clean
107112 CUDA_HOME=/usr/local/cuda-${CUDA_SHORT}
@@ -118,8 +123,13 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
118123
119124 # Install CUDA
120125 wget -nv " ${CUDA_URL} /${CUDA_FILE} "
121- # PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT}\" -Wait -NoNewWindow"
122- PowerShell -Command " Start-Process -FilePath \" ${CUDA_FILE} \" -ArgumentList \" -s\" -Wait -NoNewWindow"
126+
127+ if [ " ${IDX} " = " cu110" ]; then
128+ PowerShell -Command " Start-Process -FilePath \" ${CUDA_FILE} \" -ArgumentList \" -s nvcc_11.0 cuobjdump_11.0 nvprune_11.0 nvprof_11.0 cupti_11.0 cublas_11.0 cublas_dev_11.0 cudart_11.0 cufft_11.0 cufft_dev_11.0 curand_11.0 curand_dev_11.0 cusolver_11.0 cusolver_dev_11.0 cusparse_11.0 cusparse_dev_11.0 npp_11.0 npp_dev_11.0 nvrtc_11.0 nvrtc_dev_11.0 nvml_dev_11.0\" -Wait -NoNewWindow"
129+ else
130+ PowerShell -Command " Start-Process -FilePath \" ${CUDA_FILE} \" -ArgumentList \" -s nvcc_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} \" -Wait -NoNewWindow"
131+ fi
132+
123133 CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v${CUDA_SHORT}
124134 PATH=${CUDA_HOME} /bin:$PATH
125135 PATH=/c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH
You can’t perform that action at this time.
0 commit comments