luoyetx / mini-caffe

Minimal runtime core of Caffe, Forward only, GPU support and Memory efficiency.
BSD 3-Clause "New" or "Revised" License
374 stars 151 forks source link

win10+cmake+cuda10.0+cudnn7.3.1, i have the problem that Running GPU detection script with nvcc failed: detect_cuda_archs.cu #96

Open wuqingshan2010 opened 5 years ago

wuqingshan2010 commented 5 years ago

when i cmake with cuda and cudnn on the windwos os, i have the problem that CMake Warning at cmake/Cuda.cmake:69 (message):Running GPU detection script with nvcc failed: detect_cuda_archs.cu when i build it with visual studio 2015, it can not generate the caffe.dll. How can i solve it?

luoyetx commented 5 years ago

cmake/Cuda.cmake file needs update for CUDA 10

wuqingshan2010 commented 5 years ago

how to modify the Cuda.cmake file?