Windows下Caffe在GPU編譯過程

來源:互聯網
上載者:User

標籤:問題   無法   roman   mic   forward   過程   round   color   github   

Windows下Caffe在GPU編譯過程

GeForce8800 GTS512: cc=1.1

CUDA6.5

問題一:

src/caffe/layers/conv_layer.cu(20): error : too few arguments in function call

 

Error in in conv_layer.cu :forward_gpu_gemm needs the argument skip_im2col #1962

 

解決:

https://github.com/BVLC/caffe/issues/1962

As @liqing-ustc replied, just add "false" as the fourth argument.

 

問題二:

1>D:\Dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh(28): error : identifier "__longlong_as_double" is undefined

1>D:\Dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh(28): error : identifier "__double_as_longlong" is undefined

1>D:\Dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh(27): error : no instance of overloaded function "atomicCAS" matches the argument list

1>D:\Dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh(30): error : identifier "__longlong_as_double" is undefined

無法解決

 

結論:

https://github.com/happynear/caffe-windows/issues/41

 

My GPU is Geforce310M (compute compatibility=12). I had to use CUDA 6.5, as CUDA 7.0 does not support compute compatibility of 12. So I changed all "7.0" to "6.5". I have also changed all of the compute‘s and sm‘s to 12. I‘d be very happy if you could let me know how I can solve this problem

 

CUDA 6.5 is no longer supported by caffe.

BTW, the speed of 310M would not be faster than a CPU. I suggest you to use CPU mode.

Windows下Caffe在GPU編譯過程

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.