caffe boost cuda __float128 undefined

在编译Caffe时遇到__float128未定义的问题,针对CUDA 7.5.18、Boost 1.60、GCC 4.8和Ubuntu 14.04的环境。解决方案涉及boost的gcc.h头文件存在bug,通过修改该文件第156行的代码,无需重新编译即可修复问题。
摘要由CSDN通过智能技术生成

今天编译caffe-master时遇到新的问题,__float128未定义,使用到cuda版本为7.5.18,boost为1.60,gcc为4.8,opencv为3.1,操作系统为ubuntu14.04,报错如下:

/usr/local/include/boost/config/suffix.hpp(510): error: identifier "__float128" is undefined

1 error detected in the compilation of "/tmp/tmpxft_00003571_00000000-16_threshold_layer.compute_50.cpp1.ii".
make: *** [.build_release/cuda/src/caffe/layers/threshold_layer.o] Error 1
make: *** Waiting for unfinished jobs..
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值