首页 > 代码库 > Run Caffe Meet [Check failed: error == cudaSuccess (8 vs.0) invalid device function]
Run Caffe Meet [Check failed: error == cudaSuccess (8 vs.0) invalid device function]
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]
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。