nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be remov
1、问题:
执行:
$ make all -j8
出现如下提示:
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
2、解决方法:
打开Makefile.config,删除compute_20行。如下图所示:
未删除之前:
删除之后:
解决问题。
参考方法,如下图:
3、参考链接:
https://blog.csdn.net/u010454261/article/details/53943788
https://blog.csdn.net/xunan003/article/details/78428971
http://www.caffecn.cn/?/question/1077
http://www.bubuko.com/infodetail-2132830.html