Caffe编译的时候出现warning: The 'compute_20' and 'sm_20' architectures are deprecated怎么办
来源:互联网 发布:gameboy知乎 编辑:程序博客网 时间:2024/04/29 16:29
至于为什么会出现这种警告,如下网站回答的较好.
http://stackoverflow.com/questions/15714360/compiling-cuda-program-for-a-geforce-310-compute-capability-1-2-with-unmatched
我的解决办法简单粗暴,在makefile.config 文件中 删除相关的行.即可
搜索中文页面没有直接回答这个问题的,就写了一篇博客,希望可以帮到后人.
删除前
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
删除后
CUDA_ARCH := -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
这样在编译的时候就没有警告了.
0 0
- Caffe编译的时候出现warning: The 'compute_20' and 'sm_20' architectures are deprecated怎么办
- cuda8.0使用nvcc编译程序出现warning:The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated的解决办法
- 解决nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated问题
- 解决类似nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated....等问题
- 为什么出现:warning: The 'compute_10' and 'sm_10' architectures are deprecated
- Ubuntu16:cmake生成Makefile编译caffe过程(OpenBLAS/CPU+GPU)塈解决nvcc warning:The 'compute_20', 'sm_20'
- Ubuntu16:cmake生成Makefile编译caffe过程(OpenBLAS/CPU+GPU)塈解决nvcc warning:The 'compute_20', 'sm_20'
- Android studio更新后出现警告:Warning:The `android.dexOptions.incremental` property is deprecated and it has
- Android studio更新后出现警告:Warning:The `android.dexOptions.incremental` property is deprecated and it has
- Android studio更新后出现警告:Warning:The `android.dexOptions.incremental` property is deprecated and it has
- Caffe-GPU编译问题:nvcc fatal : Unsupported gpu architecture 'compute_20'
- 出现“Warning: Call-time pass-by-reference has been deprecated”怎么办?
- Qt Warning: Unescaped backslashes are deprecated!
- Hadoop启动时出现 Warning HADOOP_HOME is deprecated 的解决方案
- Hadoop1.2.1 出现Warning: $HADOOP_HOME is deprecated.的解决方案
- VS2008使用QT插件编译的时候出现WARNING: Can't find the Qt version that's associated with this project
- Warning:The `android.dexOptions.incremental` property is deprecated and it has no effect on the buil
- Warning:The `android.dexOptions.incremental` property is deprecated and it has no effect on the buil
- 清理微信浏览网站的缓存,Cookie
- 正确的健身是啥意思——北漂18年(79)
- nc生成单据主表主键
- 建立自己的yum源
- 【T3】登陆软件报错:无效图片(481)
- Caffe编译的时候出现warning: The 'compute_20' and 'sm_20' architectures are deprecated怎么办
- 【SpringMVC】Intellij Idea搭建一个完整的 spring mvc项目 (附带ibatis的配置与使用)
- 网址大全(网页用图)
- 二叉树的建立与遍历方法
- Scala Programming
- JS中创建选择并进行跳转
- Azkaban-开源任务调度程序(安装篇)
- 2016年JavaScript最佳轻量级的插件和库
- Android中的九宫格