Windows Caffe in the GPU compilation process

Source: Internet
Author: User

Windows Caffe in the GPU compilation process

GeForce8800 gts512:cc=1.1

CUDA6.5

Question one:

SRC/CAFFE/LAYERS/CONV_LAYER.CU: Error:too Few arguments in function call

Error in Conv_layer.cu:forward_gpu_gemm needs the argument Skip_im2col #1962

Solve:

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

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

Question two:

1>d:\dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh (): Error:identifier "__longlong_as_double" is Undefined

1>d:\dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh (): Error:identifier "__double_as_longlong" is Undefined

1>d:\dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh: error:no instance of overloaded function " Atomiccas "matches the argument list

1>d:\dev\caffe-master-gpu\include\caffe/util/gpu_util.cuh (+): Error:identifier "__longlong_as_double" is Undefined

Cannot be resolved

Conclusion:

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 compatibilityof. 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 isn't be faster than a CPU. I suggest use CPU mode.

Windows Caffe in the GPU compilation process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.