错误

 im2col.cu:61] Check failed: error == cudaSuccess (8 vs. 0)  invalid device function

原因:由于Makefile.config里面只对cuda8.0一下的架构编译cuda程序,所以采用cuda8.0后cuda程序没有被编译

解决:修改Makefile.config中的 CUDA_ARCH

添加 -gencode arch=compute_61,code=sm_61

计算能力可以参考下面链接添加合适的架构参数

http://blog.csdn.net/allyli0022/article/details/54628987

 

相关文章:

  • 2021-06-20
  • 2021-10-31
  • 2022-01-31
  • 2021-07-07
  • 2021-07-16
  • 2022-12-23
  • 2022-03-06
猜你喜欢
  • 2021-09-18
  • 2022-12-23
  • 2021-04-11
  • 2022-12-23
  • 2021-06-16
  • 2021-10-20
相关资源
相似解决方案