首页 > 其他 > 详细

Run Caffe Meet [Check failed: error == cudaSuccess (8 vs.0) invalid device function]

时间:2017-05-10 21:07:51      阅读:1249      评论:0      收藏:0      [点我收藏+]

It is possible relative to CUDA compute cabality , and should find your VGA Driver‘s compute cabality

You can refer to is Blog:

http://blog.csdn.net/real_myth/article/details/44308169

And then edit [CUDA_ARCH] in your Makefile.config, for examples, my VGA is GTX770, its compute cabality is 3.0, so annotations last two line.

CUDA_ARCH := -gencode arch=compute_20,code=sm_20 		-gencode arch=compute_20,code=sm_21 		-gencode arch=compute_30,code=sm_30 		#-gencode arch=compute_35,code=sm_35 		#-gencode arch=compute_50,code=sm_50 		#-gencode arch=compute_50,code=compute_50                 #-gencode arch=compute_52,code=compute_52

Re-run your code, seccess~~

Run Caffe Meet [Check failed: error == cudaSuccess (8 vs.0) invalid device function]

原文:http://www.cnblogs.com/chanyn/p/6838050.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!