编译paddle/fluid/operators/mul_op出现很多***has not been declared
Created by: CerrieJ
-
版本、环境信息: 1)PaddlePaddle版本:1.5.1(docker 2)CPU/GPU:cpu 3)系统环境:utuntu16.04 4)Python2.7 5)显存信息
-
编译指令:
g++ -std=gnu++11 mul_op.cc -o mul_op
-
报错: `root@5b79acf6ff7b:/home/workSpace/paddlepaddle/paddle/fluid/operators# g++ -std=gnu++11 mul_op.cc -o mul_op In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:102:11: error: '::acos' has not been declared using ::acos; ^ /usr/include/c++/5/cmath:121:11: error: '::asin' has not been declared using ::asin; ^ /usr/include/c++/5/cmath:140:11: error: '::atan' has not been declared using ::atan; ^ /usr/include/c++/5/cmath:159:11: error: '::atan2' has not been declared using ::atan2; ^ /usr/include/c++/5/cmath:180:11: error: '::ceil' has not been declared using ::ceil; ^ /usr/include/c++/5/cmath:199:11: error: '::cos' has not been declared using ::cos; ^ /usr/include/c++/5/cmath:218:11: error: '::cosh' has not been declared using ::cosh; ^ /usr/include/c++/5/cmath:237:11: error: '::exp' has not been declared using ::exp; ^ /usr/include/c++/5/cmath:256:11: error: '::fabs' has not been declared using ::fabs; ^ /usr/include/c++/5/cmath:275:11: error: '::floor' has not been declared using ::floor; ^ /usr/include/c++/5/cmath:294:11: error: '::fmod' has not been declared using ::fmod; ^ /usr/include/c++/5/cmath:315:11: error: '::frexp' has not been declared using ::frexp; ^ /usr/include/c++/5/cmath:334:11: error: '::ldexp' has not been declared using ::ldexp; ^ /usr/include/c++/5/cmath:353:11: error: '::log' has not been declared using ::log; ^ /usr/include/c++/5/cmath:372:11: error: '::log10' has not been declared using ::log10; ^ /usr/include/c++/5/cmath:391:11: error: '::modf' has not been declared using ::modf; ^ /usr/include/c++/5/cmath:403:11: error: '::pow' has not been declared using ::pow; ^ /usr/include/c++/5/cmath:440:11: error: '::sin' has not been declared using ::sin; ^ /usr/include/c++/5/cmath:459:11: error: '::sinh' has not been declared using ::sinh; ^ /usr/include/c++/5/cmath:478:11: error: '::sqrt' has not been declared using ::sqrt; ^ /usr/include/c++/5/cmath:497:11: error: '::tan' has not been declared using ::tan; ^ /usr/include/c++/5/cmath:516:11: error: '::tanh' has not been declared using ::tanh; ^ /usr/include/c++/5/cmath: In function 'constexpr int std::fpclassify(float)': /usr/include/c++/5/cmath:564:33: error: 'FP_NAN' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:564:41: error: 'FP_INFINITE' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:564:54: error: 'FP_NORMAL' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:565:5: error: 'FP_SUBNORMAL' was not declared in this scope FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath:565:19: error: 'FP_ZERO' was not declared in this scope FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath:565:34: error: body of constexpr function 'constexpr int std::fpclassify(float)' not a return-statement FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath: In function 'constexpr int std::fpclassify(double)': /usr/include/c++/5/cmath:569:33: error: 'FP_NAN' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:569:41: error: 'FP_INFINITE' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:569:54: error: 'FP_NORMAL' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:570:5: error: 'FP_SUBNORMAL' was not declared in this scope FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath:570:19: error: 'FP_ZERO' was not declared in this scope FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath:570:34: error: body of constexpr function 'constexpr int std::fpclassify(double)' not a return-statement FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath: In function 'constexpr int std::fpclassify(long double)': /usr/include/c++/5/cmath:574:33: error: 'FP_NAN' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:574:41: error: 'FP_INFINITE' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:574:54: error: 'FP_NORMAL' was not declared in this scope { return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, ^ /usr/include/c++/5/cmath:575:5: error: 'FP_SUBNORMAL' was not declared in this scope FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath:575:19: error: 'FP_ZERO' was not declared in this scope FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath:575:34: error: body of constexpr function 'constexpr int std::fpclassify(long double)' not a return-statement FP_SUBNORMAL, FP_ZERO, __x); } ^ /usr/include/c++/5/cmath: In function 'constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, int>::__type std::fpclassify(_Tp)': /usr/include/c++/5/cmath:582:25: error: 'FP_NORMAL' was not declared in this scope { return __x != 0 ? FP_NORMAL : FP_ZERO; } ^ /usr/include/c++/5/cmath:582:37: error: 'FP_ZERO' was not declared in this scope { return __x != 0 ? FP_NORMAL : FP_ZERO; } ^ /usr/include/c++/5/cmath: At global scope: /usr/include/c++/5/cmath:1067:11: error: '::double_t' has not been declared using ::double_t; ^ /usr/include/c++/5/cmath:1068:11: error: '::float_t' has not been declared using ::float_t; ^ /usr/include/c++/5/cmath:1071:11: error: '::acosh' has not been declared using ::acosh; ^ /usr/include/c++/5/cmath:1072:11: error: '::acoshf' has not been declared using ::acoshf; ^ /usr/include/c++/5/cmath:1073:11: error: '::acoshl' has not been declared using ::acoshl; ^ /usr/include/c++/5/cmath:1075:11: error: '::asinh' has not been declared using ::asinh; ^ /usr/include/c++/5/cmath:1076:11: error: '::asinhf' has not been declared using ::asinhf; ^ /usr/include/c++/5/cmath:1077:11: error: '::asinhl' has not been declared using ::asinhl; ^ /usr/include/c++/5/cmath:1079:11: error: '::atanh' has not been declared using ::atanh; ^ /usr/include/c++/5/cmath:1080:11: error: '::atanhf' has not been declared using ::atanhf; ^ /usr/include/c++/5/cmath:1081:11: error: '::atanhl' has not been declared using ::atanhl; ^ /usr/include/c++/5/cmath:1083:11: error: '::cbrt' has not been declared using ::cbrt; ^ /usr/include/c++/5/cmath:1084:11: error: '::cbrtf' has not been declared using ::cbrtf; ^ /usr/include/c++/5/cmath:1085:11: error: '::cbrtl' has not been declared using ::cbrtl; ^ /usr/include/c++/5/cmath:1087:11: error: '::copysign' has not been declared using ::copysign; ^ /usr/include/c++/5/cmath:1088:11: error: '::copysignf' has not been declared using ::copysignf; ^ /usr/include/c++/5/cmath:1089:11: error: '::copysignl' has not been declared using ::copysignl; ^ /usr/include/c++/5/cmath:1091:11: error: '::erf' has not been declared using ::erf; ^ /usr/include/c++/5/cmath:1092:11: error: '::erff' has not been declared using ::erff; ^ /usr/include/c++/5/cmath:1093:11: error: '::erfl' has not been declared using ::erfl; ^ /usr/include/c++/5/cmath:1095:11: error: '::erfc' has not been declared using ::erfc; ^ /usr/include/c++/5/cmath:1096:11: error: '::erfcf' has not been declared using ::erfcf; ^ /usr/include/c++/5/cmath:1097:11: error: '::erfcl' has not been declared using ::erfcl; ^ /usr/include/c++/5/cmath:1099:11: error: '::exp2' has not been declared using ::exp2; ^ /usr/include/c++/5/cmath:1100:11: error: '::exp2f' has not been declared using ::exp2f; ^ /usr/include/c++/5/cmath:1101:11: error: '::exp2l' has not been declared using ::exp2l; ^ /usr/include/c++/5/cmath:1103:11: error: '::expm1' has not been declared using ::expm1; ^ /usr/include/c++/5/cmath:1104:11: error: '::expm1f' has not been declared using ::expm1f; ^ /usr/include/c++/5/cmath:1105:11: error: '::expm1l' has not been declared using ::expm1l; ^ /usr/include/c++/5/cmath:1107:11: error: '::fdim' has not been declared using ::fdim; ^ /usr/include/c++/5/cmath:1108:11: error: '::fdimf' has not been declared using ::fdimf; ^ /usr/include/c++/5/cmath:1109:11: error: '::fdiml' has not been declared using ::fdiml; ^ /usr/include/c++/5/cmath:1111:11: error: '::fma' has not been declared using ::fma; ^ /usr/include/c++/5/cmath:1112:11: error: '::fmaf' has not been declared using ::fmaf; ^ /usr/include/c++/5/cmath:1113:11: error: '::fmal' has not been declared using ::fmal; ^ /usr/include/c++/5/cmath:1115:11: error: '::fmax' has not been declared using ::fmax; ^ /usr/include/c++/5/cmath:1116:11: error: '::fmaxf' has not been declared using ::fmaxf; ^ /usr/include/c++/5/cmath:1117:11: error: '::fmaxl' has not been declared using ::fmaxl; ^ /usr/include/c++/5/cmath:1119:11: error: '::fmin' has not been declared using ::fmin; ^ /usr/include/c++/5/cmath:1120:11: error: '::fminf' has not been declared using ::fminf; ^ /usr/include/c++/5/cmath:1121:11: error: '::fminl' has not been declared using ::fminl; ^ /usr/include/c++/5/cmath:1123:11: error: '::hypot' has not been declared using ::hypot; ^ /usr/include/c++/5/cmath:1124:11: error: '::hypotf' has not been declared using ::hypotf; ^ /usr/include/c++/5/cmath:1125:11: error: '::hypotl' has not been declared using ::hypotl; ^ /usr/include/c++/5/cmath:1127:11: error: '::ilogb' has not been declared using ::ilogb; ^ /usr/include/c++/5/cmath:1128:11: error: '::ilogbf' has not been declared using ::ilogbf; ^ /usr/include/c++/5/cmath:1129:11: error: '::ilogbl' has not been declared using ::ilogbl; ^ /usr/include/c++/5/cmath:1131:11: error: '::lgamma' has not been declared using ::lgamma; ^ /usr/include/c++/5/cmath:1132:11: error: '::lgammaf' has not been declared using ::lgammaf; ^ /usr/include/c++/5/cmath:1133:11: error: '::lgammal' has not been declared using ::lgammal; ^ /usr/include/c++/5/cmath:1135:11: error: '::llrint' has not been declared using ::llrint; ^ /usr/include/c++/5/cmath:1136:11: error: '::llrintf' has not been declared using ::llrintf; ^ /usr/include/c++/5/cmath:1137:11: error: '::llrintl' has not been declared using ::llrintl; ^ /usr/include/c++/5/cmath:1139:11: error: '::llround' has not been declared using ::llround; ^ /usr/include/c++/5/cmath:1140:11: error: '::llroundf' has not been declared using ::llroundf; ^ /usr/include/c++/5/cmath:1141:11: error: '::llroundl' has not been declared using ::llroundl; ^ /usr/include/c++/5/cmath:1143:11: error: '::log1p' has not been declared using ::log1p; ^ /usr/include/c++/5/cmath:1144:11: error: '::log1pf' has not been declared using ::log1pf; ^ /usr/include/c++/5/cmath:1145:11: error: '::log1pl' has not been declared using ::log1pl; ^ /usr/include/c++/5/cmath:1147:11: error: '::log2' has not been declared using ::log2; ^ /usr/include/c++/5/cmath:1148:11: error: '::log2f' has not been declared using ::log2f; ^ /usr/include/c++/5/cmath:1149:11: error: '::log2l' has not been declared using ::log2l; ^ /usr/include/c++/5/cmath:1151:11: error: '::logb' has not been declared using ::logb; ^ /usr/include/c++/5/cmath:1152:11: error: '::logbf' has not been declared using ::logbf; ^ /usr/include/c++/5/cmath:1153:11: error: '::logbl' has not been declared using ::logbl; ^ /usr/include/c++/5/cmath:1155:11: error: '::lrint' has not been declared using ::lrint; ^ /usr/include/c++/5/cmath:1156:11: error: '::lrintf' has not been declared using ::lrintf; ^ /usr/include/c++/5/cmath:1157:11: error: '::lrintl' has not been declared using ::lrintl; ^ /usr/include/c++/5/cmath:1159:11: error: '::lround' has not been declared using ::lround; ^ /usr/include/c++/5/cmath:1160:11: error: '::lroundf' has not been declared using ::lroundf; ^ /usr/include/c++/5/cmath:1161:11: error: '::lroundl' has not been declared using ::lroundl; ^ /usr/include/c++/5/cmath:1163:11: error: '::nan' has not been declared using ::nan; ^ /usr/include/c++/5/cmath:1164:11: error: '::nanf' has not been declared using ::nanf; ^ /usr/include/c++/5/cmath:1165:11: error: '::nanl' has not been declared using ::nanl; ^ /usr/include/c++/5/cmath:1167:11: error: '::nearbyint' has not been declared using ::nearbyint; ^ /usr/include/c++/5/cmath:1168:11: error: '::nearbyintf' has not been declared using ::nearbyintf; ^ /usr/include/c++/5/cmath:1169:11: error: '::nearbyintl' has not been declared using ::nearbyintl; ^ /usr/include/c++/5/cmath:1171:11: error: '::nextafter' has not been declared using ::nextafter; ^ /usr/include/c++/5/cmath:1172:11: error: '::nextafterf' has not been declared using ::nextafterf; ^ /usr/include/c++/5/cmath:1173:11: error: '::nextafterl' has not been declared using ::nextafterl; ^ /usr/include/c++/5/cmath:1175:11: error: '::nexttoward' has not been declared using ::nexttoward; ^ /usr/include/c++/5/cmath:1176:11: error: '::nexttowardf' has not been declared using ::nexttowardf; ^ /usr/include/c++/5/cmath:1177:11: error: '::nexttowardl' has not been declared using ::nexttowardl; ^ /usr/include/c++/5/cmath:1179:11: error: '::remainder' has not been declared using ::remainder; ^ /usr/include/c++/5/cmath:1180:11: error: '::remainderf' has not been declared using ::remainderf; ^ /usr/include/c++/5/cmath:1181:11: error: '::remainderl' has not been declared using ::remainderl; ^ /usr/include/c++/5/cmath:1183:11: error: '::remquo' has not been declared using ::remquo; ^ /usr/include/c++/5/cmath:1184:11: error: '::remquof' has not been declared using ::remquof; ^ /usr/include/c++/5/cmath:1185:11: error: '::remquol' has not been declared using ::remquol; ^ /usr/include/c++/5/cmath:1187:11: error: '::rint' has not been declared using ::rint; ^ /usr/include/c++/5/cmath:1188:11: error: '::rintf' has not been declared using ::rintf; ^ /usr/include/c++/5/cmath:1189:11: error: '::rintl' has not been declared using ::rintl; ^ /usr/include/c++/5/cmath:1191:11: error: '::round' has not been declared using ::round; ^ /usr/include/c++/5/cmath:1192:11: error: '::roundf' has not been declared using ::roundf; ^ /usr/include/c++/5/cmath:1193:11: error: '::roundl' has not been declared using ::roundl; ^ /usr/include/c++/5/cmath:1195:11: error: '::scalbln' has not been declared using ::scalbln; ^ /usr/include/c++/5/cmath:1196:11: error: '::scalblnf' has not been declared using ::scalblnf; ^ /usr/include/c++/5/cmath:1197:11: error: '::scalblnl' has not been declared using ::scalblnl; ^ /usr/include/c++/5/cmath:1199:11: error: '::scalbn' has not been declared using ::scalbn; ^ /usr/include/c++/5/cmath:1200:11: error: '::scalbnf' has not been declared using ::scalbnf; ^ /usr/include/c++/5/cmath:1201:11: error: '::scalbnl' has not been declared using ::scalbnl; ^ /usr/include/c++/5/cmath:1203:11: error: '::tgamma' has not been declared using ::tgamma; ^ /usr/include/c++/5/cmath:1204:11: error: '::tgammaf' has not been declared using ::tgammaf; ^ /usr/include/c++/5/cmath:1205:11: error: '::tgammal' has not been declared using ::tgammal; ^ /usr/include/c++/5/cmath:1207:11: error: '::trunc' has not been declared using ::trunc; ^ /usr/include/c++/5/cmath:1208:11: error: '::truncf' has not been declared using ::truncf; ^ /usr/include/c++/5/cmath:1209:11: error: '::truncl' has not been declared using ::truncl; ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:433:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::exp(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:400:16: error: '::expf' has not been declared return half(::expf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::log(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:410:15: error: '::logf' has not been declared return half(::logf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::log10(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:417:15: error: '::log10f' has not been declared return half(::log10f(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::sqrt(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:423:17: error: '::sqrtf' has not been declared return half(::sqrtf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::pow(const Eigen::half&, const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:427:15: error: '::powf' has not been declared return half(::powf(float(a), float(b))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::sin(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:430:15: error: '::sinf' has not been declared return half(::sinf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::cos(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:433:15: error: '::cosf' has not been declared return half(::cosf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::tan(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:436:15: error: '::tanf' has not been declared return half(::tanf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::tanh(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:439:15: error: '::tanhf' has not been declared return half(::tanhf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::floor(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:445:15: error: '::floorf' has not been declared return half(::floorf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half Eigen::half_impl::ceil(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:452:15: error: '::ceilf' has not been declared return half(::ceilf(float(a))); ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:433:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half exph(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:584:22: error: '::expf' has not been declared return Eigen::half(::expf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half logh(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:590:22: error: '::logf' has not been declared return Eigen::half(::logf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half sqrth(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:594:22: error: '::sqrtf' has not been declared return Eigen::half(::sqrtf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half powh(const Eigen::half&, const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:597:22: error: '::powf' has not been declared return Eigen::half(::powf(float(a), float(b))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half floorh(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:600:22: error: '::floorf' has not been declared return Eigen::half(::floorf(float(a))); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h: In function 'Eigen::half ceilh(const Eigen::half&)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:603:22: error: '::ceilf' has not been declared return Eigen::half(::ceilf(float(a))); ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/SpecialFunctions:46:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:31, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h: In static member function 'static float Eigen::internal::lgamma_impl::run(float)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:128:12: error: '::lgammaf' has not been declared return ::lgammaf(x); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h: In static member function 'static double Eigen::internal::lgamma_impl::run(double)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:141:12: error: '::lgamma' has not been declared return ::lgamma(x); ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:141:12: note: suggested alternatives: In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1478:5: note: 'std::lgamma' lgamma(_Tp __x) ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:558:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/GlobalFunctions.h:69:3: note: 'Eigen::lgamma' EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(lgamma,scalar_lgamma_op,natural logarithm of the gamma ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/SpecialFunctions:46:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:31, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h: In static member function 'static float Eigen::internal::erf_impl::run(float)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:357:58: error: '::erff' has not been declared static EIGEN_STRONG_INLINE float run(float x) { return ::erff(x); } ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h: In static member function 'static double Eigen::internal::erf_impl::run(double)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:363:60: error: '::erf' has not been declared static EIGEN_STRONG_INLINE double run(double x) { return ::erf(x); } ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:363:60: note: suggested alternatives: In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1307:5: note: 'std::erf' erf(_Tp __x) ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:558:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/GlobalFunctions.h:71:3: note: 'Eigen::erf' EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(erf,scalar_erf_op,error function,\sa ArrayBase::erf) ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/SpecialFunctions:46:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:31, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h: In static member function 'static float Eigen::internal::erfc_impl::run(float)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:390:64: error: '::erfcf' has not been declared static EIGEN_STRONG_INLINE float run(const float x) { return ::erfcf(x); } ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h: In static member function 'static double Eigen::internal::erfc_impl::run(double)': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:396:66: error: '::erfc' has not been declared static EIGEN_STRONG_INLINE double run(const double x) { return ::erfc(x); } ^ /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:396:66: note: suggested alternatives: In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1323:5: note: 'std::erfc' erfc(_Tp __x) ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:558:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/GlobalFunctions.h:72:3: note: 'Eigen::erfc' EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(erfc,scalar_erfc_op,complement error function,\sa Array ^ In file included from ./math.h:17:0, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'T Eigen::numext::exp(const T&) [with T = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1036:18: error: '::expf' has not been declared return float16(::expf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'typename Eigen::internal::erf_retval<typename Eigen::internal::global_math_functions_filtering_base::type>::type Eigen::numext::erf(const Scalar&) [with Scalar = paddle::platform::float16; typename Eigen::internal::erf_retval<typename Eigen::internal::global_math_functions_filtering_base::type>::type = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1041:18: error: '::erff' has not been declared return float16(::erff(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'T Eigen::numext::log(const T&) [with T = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1046:18: error: '::logf' has not been declared return float16(::logf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'T Eigen::numext::tanh(const T&) [with T = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1051:18: error: '::tanhf' has not been declared return float16(::tanhf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'T Eigen::numext::sqrt(const T&) [with T = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1056:18: error: '::sqrtf' has not been declared return float16(::sqrtf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'T Eigen::numext::ceil(const T&) [with T = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1061:18: error: '::ceilf' has not been declared return float16(::ceilf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'T Eigen::numext::floor(const T&) [with T = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1066:18: error: '::floorf' has not been declared return float16(::floorf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'typename Eigen::internal::round_retval<typename Eigen::internal::global_math_functions_filtering_base::type>::type Eigen::numext::round(const Scalar&) [with Scalar = paddle::platform::float16; typename Eigen::internal::round_retval<typename Eigen::internal::global_math_functions_filtering_base::type>::type = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1071:18: error: '::roundf' has not been declared return float16(::roundf(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'typename Eigen::internal::pow_impl<ScalarX, ScalarY>::result_type Eigen::numext::pow(const ScalarX&, const ScalarY&) [with ScalarX = paddle::platform::float16; ScalarY = paddle::platform::float16; typename Eigen::internal::pow_impl<ScalarX, ScalarY>::result_type = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1076:18: error: '::powf' has not been declared return float16(::powf(static_cast(a), static_cast(b))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h: In function 'typename Eigen::internal::enable_if<(Eigen::NumTraits::IsSigned || Eigen::NumTraits::IsComplex), typename Eigen::NumTraits::Real>::type Eigen::numext::abs(const T&) [with T = paddle::platform::float16; typename Eigen::internal::enable_if<(Eigen::NumTraits::IsSigned || Eigen::NumTraits::IsComplex), typename Eigen::NumTraits::Real>::type = paddle::platform::float16]': /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1081:18: error: '::fabs' has not been declared return float16(::fabs(static_cast(a))); ^ /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:1081:18: note: suggested alternative: In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/complex:1822:5: note: 'std::fabs' fabs(const std::complex<_Tp>& __z) ^ In file included from /usr/include/c++/5/cmath:44:0, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: ./math.h: In function 'paddle::platform::float16 paddle::operators::real_exp(paddle::platform::float16)': ./math.h:26:41: error: '::expf' has not been declared return static_castplatform::float16(::expf(static_cast(x))); ^ ./math.h: In function 'float paddle::operators::real_exp(float)': ./math.h:29:52: error: '::expf' has not been declared inline HOSTDEVICE float real_exp(float x) { return ::expf(x); } ^ ./math.h: In function 'double paddle::operators::real_exp(double)': ./math.h:31:54: error: '::exp' has not been declared inline HOSTDEVICE double real_exp(double x) { return ::exp(x); } ^ ./math.h:31:54: note: suggested alternatives: In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/complex:758:5: note: 'std::exp' exp(const complex<_Tp>& __z) { return __complex_exp(__z.__rep()); } ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:558:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/GlobalFunctions.h:73:3: note: 'Eigen::exp' EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(exp,scalar_exp_op,exponential,\sa ArrayBase::exp) ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:392:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/MathFunctions.h:1276:3: note: 'Eigen::numext::exp' T exp(const T &x) { ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:433:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:396:44: note: 'Eigen::half_impl::exp' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half exp(const half& a) { ^ In file included from /usr/include/c++/5/cmath:44:0, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: ./math.h: In function 'paddle::platform::float16 paddle::operators::real_log(paddle::platform::float16)': ./math.h:34:41: error: '::logf' has not been declared return static_castplatform::float16(::logf(static_cast(x))); ^ ./math.h: In function 'float paddle::operators::real_log(float)': ./math.h:37:52: error: '::logf' has not been declared inline HOSTDEVICE float real_log(float x) { return ::logf(x); } ^ ./math.h: In function 'double paddle::operators::real_log(double)': ./math.h:39:54: error: '::log' has not been declared inline HOSTDEVICE double real_log(double x) { return ::log(x); } ^ ./math.h:39:54: note: suggested alternatives: In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/complex:785:5: note: 'std::log' log(const complex<_Tp>& __z) { return __complex_log(__z.__rep()); } ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:558:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/GlobalFunctions.h:75:3: note: 'Eigen::log' EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log,scalar_log_op,natural logarithm,\sa Eigen::log10 DO ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:392:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/MathFunctions.h:1217:3: note: 'Eigen::numext::log' T log(const T &x) { ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:433:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/arch/CUDA/Half.h:406:44: note: 'Eigen::half_impl::log' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half log(const half& a) { ^ In file included from /usr/include/c++/5/random:49:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.h: In member function 'void std::geometric_distribution<_IntType>::param_type::_M_initialize()': /usr/include/c++/5/bits/random.h:3876:36: error: call of overloaded 'log(double)' is ambiguous { _M_log_1_p = std::log(1.0 - _M_p); } ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc: In member function 'void std::poisson_distribution<_IntType>::param_type::_M_initialize()': /usr/include/c++/5/bits/random.tcc:1248:41: error: call of overloaded 'floor(double&)' is ambiguous const double __m = std::floor(_M_mean); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:279:3: note: candidate: constexpr float std::floor(float) floor(float __x) ^ /usr/include/c++/5/cmath:283:3: note: candidate: constexpr long double std::floor(long double) floor(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1249:32: error: call of overloaded 'log(double&)' is ambiguous _M_lm_thr = std::log(_M_mean); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1250:32: error: call of overloaded 'lgamma(double)' is ambiguous _M_lfm = std::lgamma(__m + 1); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1467:3: note: candidate: constexpr float std::lgamma(float) lgamma(float __x) ^ /usr/include/c++/5/cmath:1471:3: note: candidate: constexpr long double std::lgamma(long double) lgamma(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1251:25: error: call of overloaded 'sqrt(const double&)' is ambiguous _M_sm = std::sqrt(__m); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:482:3: note: candidate: constexpr float std::sqrt(float) sqrt(float __x) ^ /usr/include/c++/5/cmath:486:3: note: candidate: constexpr long double std::sqrt(long double) sqrt(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1255:22: error: call of overloaded 'log(double)' is ambiguous / __pi_4)); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1256:56: error: call of overloaded 'round(const double& ' is ambiguous _M_d = std::round(std::max(6.0, std::min(__m, __dx))); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1698:3: note: candidate: constexpr float std::round(float) round(float __x) ^ /usr/include/c++/5/cmath:1702:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1258:31: error: call of overloaded 'sqrt(double)' is ambiguous _M_scx = std::sqrt(__cx / 2); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:482:3: note: candidate: constexpr float std::sqrt(float) sqrt(float __x) ^ /usr/include/c++/5/cmath:486:3: note: candidate: constexpr long double std::sqrt(long double) sqrt(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1261:36: error: call of overloaded 'sqrt(double)' is ambiguous _M_c2b = std::sqrt(__pi_4 * __cx) * std::exp(_M_1cx); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:482:3: note: candidate: constexpr float std::sqrt(float) sqrt(float __x) ^ /usr/include/c++/5/cmath:486:3: note: candidate: constexpr long double std::sqrt(long double) sqrt(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1261:55: error: call of overloaded 'exp(double&)' is ambiguous _M_c2b = std::sqrt(__pi_4 * __cx) * std::exp(_M_1cx); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1262:63: error: call of overloaded 'exp(double)' is ambiguous _M_cb = 2 * __cx * std::exp(-_M_d * _M_1cx * (1 + _M_d / 2)) ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1267:31: error: call of overloaded 'exp(double)' is ambiguous _M_lm_thr = std::exp(-_M_mean); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc: In member function 'std::poisson_distribution<_IntType>::result_type std::poisson_distribution<_IntType>::operator()(_UniformRandomNumberGenerator&, const std::poisson_distribution<_IntType>::param_type&)': /usr/include/c++/5/bits/random.tcc:1325:27: error: call of overloaded 'floor(const double& ' is ambiguous __x = std::floor(__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:279:3: note: candidate: constexpr float std::floor(float) floor(float __x) ^ /usr/include/c++/5/cmath:283:3: note: candidate: constexpr long double std::floor(long double) floor(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1334:26: error: call of overloaded 'ceil(const double&)' is ambiguous __x = std::ceil(__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:184:3: note: candidate: constexpr float std::ceil(float) ceil(float __x) ^ /usr/include/c++/5/cmath:188:3: note: candidate: constexpr long double std::ceil(long double) ceil(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1352:26: error: call of overloaded 'ceil(const double&)' is ambiguous __x = std::ceil(__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:184:3: note: candidate: constexpr float std::ceil(float) ceil(float __x) ^ /usr/include/c++/5/cmath:188:3: note: candidate: constexpr long double std::ceil(long double) ceil(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1357:52: error: call of overloaded 'lgamma(double)' is ambiguous > __param._M_lfm - std::lgamma(__x + __m + 1)); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1467:3: note: candidate: constexpr float std::lgamma(float) lgamma(float __x) ^ /usr/include/c++/5/cmath:1471:3: note: candidate: constexpr long double std::lgamma(long double) lgamma(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc: In member function 'void std::binomial_distribution<_IntType>::param_type::_M_initialize()': /usr/include/c++/5/bits/random.tcc:1463:33: error: call of overloaded 'log(double)' is ambiguous / (81 * __pi_4 * __1p))); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1464:43: error: call of overloaded 'round(const double& ' is ambiguous _M_d1 = std::round(std::max(1.0, __d1x)); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1698:3: note: candidate: constexpr float std::round(float) round(float __x) ^ /usr/include/c++/5/cmath:1702:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1468:43: error: call of overloaded 'round(const double& ' is ambiguous _M_d2 = std::round(std::max(1.0, __d2x)); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1698:3: note: candidate: constexpr float std::round(float) round(float __x) ^ /usr/include/c++/5/cmath:1702:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1472:33: error: call of overloaded 'sqrt(double)' is ambiguous _M_s1 = std::sqrt(__np * __1p) * (1 + _M_d1 / (4 * __np)); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:482:3: note: candidate: constexpr float std::sqrt(float) sqrt(float __x) ^ /usr/include/c++/5/cmath:486:3: note: candidate: constexpr long double std::sqrt(long double) sqrt(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1473:33: error: call of overloaded 'sqrt(double)' is ambiguous _M_s2 = std::sqrt(__np * __1p) * (1 + _M_d2 / (4 * _M_t * __1p)); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:482:3: note: candidate: constexpr float std::sqrt(float) sqrt(float __x) ^ /usr/include/c++/5/cmath:486:3: note: candidate: constexpr long double std::sqrt(long double) sqrt(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1475:25: error: call of overloaded 'exp(double&)' is ambiguous _M_a1 = std::exp(_M_c) * _M_s1 * __spi_2; ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1480:48: error: call of overloaded 'exp(double)' is ambiguous * std::exp(-_M_d1 * _M_d1 / (2 * __s1s))); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1483:44: error: call of overloaded 'exp(double)' is ambiguous
- std::exp(-_M_d2 * _M_d2 / (2 * __s2s))); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1484:33: error: call of overloaded 'lgamma(double)' is ambiguous _M_lf = (std::lgamma(__np + 1) ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1467:3: note: candidate: constexpr float std::lgamma(float) lgamma(float __x) ^ /usr/include/c++/5/cmath:1471:3: note: candidate: constexpr long double std::lgamma(long double) lgamma(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1486:34: error: call of overloaded 'log(double)' is ambiguous _M_lp1p = std::log(__pa / __1p); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1488:46: error: call of overloaded 'log(double)' is ambiguous _M_q = -std::log(1 - (__p12 - __pa) / __1p); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1492:28: error: call of overloaded 'log(double)' is ambiguous _M_q = -std::log(1 - __p12); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc: In member function 'std::binomial_distribution<_IntType>::result_type std::binomial_distribution<_IntType>::operator()(_UniformRandomNumberGenerator&, const std::binomial_distribution<_IntType>::param_type&)': /usr/include/c++/5/bits/random.tcc:1580:24: error: call of overloaded 'floor(const double& ' is ambiguous __x = std::floor(__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:279:3: note: candidate: constexpr float std::floor(float) floor(float __x) ^ /usr/include/c++/5/cmath:283:3: note: candidate: constexpr long double std::floor(long double) floor(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1592:25: error: call of overloaded 'floor(double)' is ambiguous __x = std::floor(-__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:279:3: note: candidate: constexpr float std::floor(float) floor(float __x) ^ /usr/include/c++/5/cmath:283:3: note: candidate: constexpr long double std::floor(long double) floor(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1603:27: error: call of overloaded 'floor(const double& ' is ambiguous __x = std::floor(__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:279:3: note: candidate: constexpr float std::floor(float) floor(float __x) ^ /usr/include/c++/5/cmath:283:3: note: candidate: constexpr long double std::floor(long double) floor(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1615:28: error: call of overloaded 'floor(double)' is ambiguous __x = std::floor(-__y); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:279:3: note: candidate: constexpr float std::floor(float) floor(float __x) ^ /usr/include/c++/5/cmath:283:3: note: candidate: constexpr long double std::floor(long double) floor(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc:1624:35: error: call of overloaded 'lgamma(double)' is ambiguous std::lgamma(__np + __x + 1) ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:1467:3: note: candidate: constexpr float std::lgamma(float) lgamma(float __x) ^ /usr/include/c++/5/cmath:1471:3: note: candidate: constexpr long double std::lgamma(long double) lgamma(long double __x) ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/bits/random.tcc: In member function 'std::piecewise_linear_distribution<_RealType>::result_type std::piecewise_linear_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&, const std::piecewise_linear_distribution<_RealType>::param_type&)': /usr/include/c++/5/bits/random.tcc:3137:33: error: call of overloaded 'sqrt(const double&)' is ambiguous x += 0.5 * (std::sqrt(d) - b) / a; ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:482:3: note: candidate: constexpr float std::sqrt(float) sqrt(float x) ^ /usr/include/c++/5/cmath:486:3: note: candidate: constexpr long double std::sqrt(long double) sqrt(long double x) ^ In file included from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:19:0, from mul_op.cc:15: /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h: At global scope: /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:86:13: error: 'CBLAS_TRANSPOSE' has not been declared void GEMM(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:86:37: error: 'CBLAS_TRANSPOSE' has not been declared void GEMM(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:94:13: error: 'CBLAS_TRANSPOSE' has not been declared void GEMM(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:94:37: error: 'CBLAS_TRANSPOSE' has not been declared void GEMM(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:184:20: error: 'CBLAS_TRANSPOSE' has not been declared void BatchedGEMM(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:184:44: error: 'CBLAS_TRANSPOSE' has not been declared void BatchedGEMM(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, ^ In file included from /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas.h:347: , from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:19, from mul_op.cc:15: /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:346:45: error: variable or field 'GEMM' declared void void Blasplatform::CPUDeviceContext::GEMM(CBLAS_TRANSPOSE transA, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:346:45: error: 'CBLAS_TRANSPOSE' was not declared in this scope /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:347:45: error: 'CBLAS_TRANSPOSE' was not declared in this scope CBLAS_TRANSPOSE transB, int M, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:347:69: error: expected primary-expression before 'int' CBLAS_TRANSPOSE transB, int M, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:348:45: error: expected primary-expression before 'int' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:348:52: error: expected primary-expression before 'int' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:348:61: error: expected primary-expression before 'alpha' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:348:68: error: expected primary-expression before 'const' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:349:45: error: expected primary-expression before 'const' const T *B, T beta, T *C) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:349:59: error: expected primary-expression before 'beta' const T *B, T beta, T C) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:349:67: error: expected primary-expression before '' token const T *B, T beta, T C) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:349:68: error: 'C' was not declared in this scope const T B, T beta, T C) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: In member function 'void paddle::operators::math::Blas::GEMM(bool, bool, int, int, int, T, const T, int, const T, int, T, T, int) const [with T = T; DeviceContext = paddle::platform::CPUDeviceContext]': /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:363:18: error: 'CblasRowMajor' was not declared in this scope CBlas::GEMM(CblasRowMajor, transA == false ? CblasNoTrans : CblasTrans, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:363:51: error: 'CblasNoTrans' was not declared in this scope CBlas::GEMM(CblasRowMajor, transA == false ? CblasNoTrans : CblasTrans, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:363:66: error: 'CblasTrans' was not declared in this scope CBlas::GEMM(CblasRowMajor, transA == false ? CblasNoTrans : CblasTrans, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: At global scope: /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:370:45: error: variable or field 'GEMM' declared void void Blasplatform::CPUDeviceContext::GEMM(CBLAS_TRANSPOSE transA, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:370:45: error: 'CBLAS_TRANSPOSE' was not declared in this scope /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:371:45: error: 'CBLAS_TRANSPOSE' was not declared in this scope CBLAS_TRANSPOSE transB, int M, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:371:69: error: expected primary-expression before 'int' CBLAS_TRANSPOSE transB, int M, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:372:45: error: expected primary-expression before 'int' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:372:52: error: expected primary-expression before 'int' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:372:61: error: expected primary-expression before 'alpha' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:372:68: error: expected primary-expression before 'const' int N, int K, T alpha, const T *A, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:373:45: error: expected primary-expression before 'int' int lda, const T *B, int ldb, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:373:54: error: expected primary-expression before 'const' int lda, const T *B, int ldb, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:373:66: error: expected primary-expression before 'int' int lda, const T B, int ldb, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:374:47: error: expected primary-expression before 'beta' T beta, T C, int ldc) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:374:55: error: expected primary-expression before '' token T beta, T C, int ldc) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:374:56: error: 'C' was not declared in this scope T beta, T C, int ldc) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:374:59: error: expected primary-expression before 'int' T beta, T C, int ldc) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: In member function 'void paddle::operators::math::Blas::MatMul(const paddle::framework::Tensor&, bool, const paddle::framework::Tensor&, bool, T, paddle::framework::Tensor, T) const': /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:398:3: error: 'CBLAS_TRANSPOSE' was not declared in this scope CBLAS_TRANSPOSE transA = !trans_a ? CblasNoTrans : CblasTrans; ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:399:19: error: expected ';' before 'transB' CBLAS_TRANSPOSE transB = !trans_b ? CblasNoTrans : CblasTrans; ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:401:14: error: 'trans ' was not declared in this scope this->GEMM(transA, transB, M, N, K, alpha, mat_a.data(), mat_b.data(), ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:401:22: error: 'trans ' was not declared in this scope this->GEMM(transA, transB, M, N, K, alpha, mat_a.data(), mat_b.data(), ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: In member function 'void paddle::operators::math::Blas::GEMV(bool, int, int, T, const T, const T, T, T) const [with T = T; DeviceContext = paddle::platform::CPUDeviceContext]': /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:534:3: error: 'CBLAS_TRANSPOSE' was not declared in this scope CBLAS_TRANSPOSE transA = !trans_a ? CblasNoTrans : CblasTrans; ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:535:18: error: 'CblasRowMajor' was not declared in this scope CBlas::GEMV(CblasRowMajor, transA, M, N, alpha, A, N, B, 1, beta, C, 1); ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:535:33: error: 'trans ' was not declared in this scope CBlas::GEMV(CblasRowMajor, transA, M, N, alpha, A, N, B, 1, beta, C, 1); ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: At global scope: /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:541:5: error: variable or field 'BatchedGEMM' declared void CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:541:5: error: 'CBLAS_TRANSPOSE' was not declared in this scope /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:541:29: error: 'CBLAS_TRANSPOSE' was not declared in this scope CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:541:53: error: expected primary-expression before 'int' CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:541:60: error: expected primary-expression before 'int' CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:541:67: error: expected primary-expression before 'int' CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, int M, int N, int K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:7: error: expected primary-expression before 'alpha' T alpha, const T *A, const T *B, T beta, T *C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:14: error: expected primary-expression before 'const' T alpha, const T *A, const T *B, T beta, T *C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:26: error: expected primary-expression before 'const' T alpha, const T *A, const T *B, T beta, T *C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:40: error: expected primary-expression before 'beta' T alpha, const T *A, const T *B, T beta, T C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:48: error: expected primary-expression before '' token T alpha, const T *A, const T *B, T beta, T C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:49: error: 'C' was not declared in this scope T alpha, const T A, const T B, T beta, T C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:542:52: error: expected primary-expression before 'int' T alpha, const T A, const T B, T beta, T C, int batchCount, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:543:13: error: expected primary-expression before 'strideA' int64_t strideA, int64_t strideB) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:543:30: error: expected primary-expression before 'strideB' int64_t strideA, int64_t strideB) const { ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: In member function 'void paddle::operators::math::Blas::MatMul(int, int, int, const T, const T, T) const': /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:609:26: error: 'CblasRowMajor' was not declared in this scope this->template GEMM(CblasRowMajor, CblasNoTrans, CblasNoTrans, M, N, K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:609:41: error: 'CblasNoTrans' was not declared in this scope this->template GEMM(CblasRowMajor, CblasNoTrans, CblasNoTrans, M, N, K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: In member function 'void paddle::operators::math::Blas::MatMul(int, int, int, const T, const T, T) const [with T = T; DeviceContext = paddle::platform::CPUDeviceContext]': /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:637:18: error: 'CblasRowMajor' was not declared in this scope CBlas::GEMM(CblasRowMajor, CblasNoTrans, CblasNoTrans, M, N, K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:637:33: error: 'CblasNoTrans' was not declared in this scope CBlas::GEMM(CblasRowMajor, CblasNoTrans, CblasNoTrans, M, N, K, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h: In member function 'void paddle::operators::math::Blas::MatMul(const paddle::framework::Tensor&, const paddle::operators::math::MatDescriptor&, const paddle::framework::Tensor&, const paddle::operators::math::MatDescriptor&, T, paddle::framework::Tensor, T) const': /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:649:3: error: 'CBLAS_TRANSPOSE' was not declared in this scope CBLAS_TRANSPOSE transA = !dim_a.trans ? CblasNoTrans : CblasTrans; ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:650:19: error: expected ';' before 'transB' CBLAS_TRANSPOSE transB = !dim_b.trans ? CblasNoTrans : CblasTrans; ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:652:28: error: 'trans ' was not declared in this scope this->template GEMM(transA, transB, dim_a.height, dim_b.width, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:652:36: error: 'trans ' was not declared in this scope this->template GEMM(transA, transB, dim_a.height, dim_b.width, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:659:9: error: 'transA' was not declared in this scope transA, transB, dim_a.height, dim_b.width, dim_a.width, alpha, ^ /home/workSpace/paddlepaddle/paddle/fluid/operators/math/blas_impl.h:659:17: error: 'trans ' was not declared in this scope transA, transB, dim_a.height, dim_b.width, dim_a.width, alpha, ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:392:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/MathFunctions.h: In instantiation of 'T Eigen::numext::log(const T&) [with T = double]': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:1389:26: required from here /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/MathFunctions.h:1219:13: error: call of overloaded 'log(const double&)' is ambiguous return log(x); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:357:3: note: candidate: constexpr float std::log(float) log(float __x) ^ /usr/include/c++/5/cmath:361:3: note: candidate: constexpr long double std::log(long double) log(long double __x) ^ In file included from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:392:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/MathFunctions.h: In instantiation of 'T Eigen::numext::exp(const T&) [with T = double]': /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h:1399:29: required from here /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/src/Core/MathFunctions.h:1278:13: error: call of overloaded 'exp(const double&)' is ambiguous return exp(x); ^ In file included from /usr/include/c++/5/complex:44:0, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/Eigen/Core:99, from /home/workSpace/paddlepaddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/Tensor:14, from /home/workSpace/paddlepaddle/paddle/fluid/platform/float16.h:75, from ./math.h:17, from /usr/include/c++/5/cmath:44, from /usr/include/c++/5/random:38, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/workSpace/paddlepaddle/paddle/fluid/framework/op_registry.h:17, from /home/workSpace/paddlepaddle/paddle/fluid/operators/mul_op.h:17, from mul_op.cc:15: /usr/include/c++/5/cmath:241:3: note: candidate: constexpr float std::exp(float) exp(float __x) ^ /usr/include/c++/5/cmath:245:3: note: candidate: constexpr long double std::exp(long double) exp(long double __x) `