cuda环境下安装opencv出现nvcc warning : The 'compute_11'
来源:互联网 发布:猜涨跌赚钱软件 编辑:程序博客网 时间:2024/04/28 23:33
警告打印:
nvcc warning : The 'compute_11', 'compute_12', 'compute_13', 'sm_11', 'sm_12', and 'sm_13' architectures are deprecated, and may be removed in a future release.
找到cmake后产生的OpencvConfig.cmake文件,找到如下代码:
# Version Compute Capability from which OpenCV has been compiled is rememberedset(OpenCV_COMPUTE_CAPABILITIES -gencode;arch=compute_11,code=sm_11;-gencode;arch=compute_12,code=sm_12;-gencode;arch=compute_13,code=sm_13;-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_30,code=compute_30)
将"-gencode ;arch=compute_11,code=sm_11";-gencode;arch=compute_12,code=sm_12;-gencode;arch=compute_13,code=sm_13; 等删除。
主要因为此架构在CUDA过时~~将来也将不支持
以上若无果:
在cmakelist中关闭cuda~~
或者在cmake时加上参数-D BUILD_opencv_gpu=OFF
0 0
- cuda环境下安装opencv出现nvcc warning : The 'compute_11'
- cuda环境下安装opencv出现nvcc warning : The 'compute_11'
- ubuntu14.04编译opencv-2.4.9出现“nvcc fatal : Unsupported gpu architecture 'compute_11'”错误
- nvcc fatal : Unsupported gpu architecture 'compute_11'
- cuda8.0使用nvcc编译程序出现warning:The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated的解决办法
- OpenCV环境下CUDA编程示例
- OpenCV环境下CUDA编程示例
- OpenCV安装教程及错误:Unsupported gpu architecture 'compute_11' 解决方法
- ubuntu下带CUDA的OpenCV安装
- NVCC CUDA编译流程
- NVCC CUDA编译流程
- NVCC CUDA编译流程
- Ubuntu10.1064bit下安装CUDA环境
- VS2015编译环境下CUDA安装配置
- ubuntu 安装 OpenCV-CUDA
- ubuntu+cuda+opencv安装
- Linux环境下安装OpenCV
- Linux环境下安装OpenCV
- POJ2752 KMP中next数组的应用
- android数据库Sqlite(3)
- Java定时调度 Timer类和TimerTask类
- cacti function
- Oracle数据库学习小结(二)
- cuda环境下安装opencv出现nvcc warning : The 'compute_11'
- 几何画板制作二次函数系的方法
- 通用的erlang优化设置
- 剑指offer 之 和为S的连续正数序列
- 如何学习新技术
- textVIew 在输入时 设置行数并且自适应高度 上移动
- 修改CPAN安装源
- 英语单词词根词缀和词性互相转换
- 344. Reverse String