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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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]的主要内容,如果未能解决你的问题,请参考以下文章

caffe运行错误: im2col.cu:61] Check failed: error == cudaSuccess (8 vs. 0) invalid device function

caffe报错:cudnn.hpp:86] Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM

如何获取 GitHub CI 作业构建 id (check_run_id)?

caffe Solve函数

caffe command line

VB6 CHECK is run as admin privilege