mseth10 opened a new pull request #20216:
URL: https://github.com/apache/incubator-mxnet/pull/20216


   ## Description ##
   Cherry-pick 78e31d66d19e385ca4ef73245ce79a47e375d8d1 and 
9bfe3116aabd01049fdbd90855cb245a30b795df from master to v1.x branch. Fixes 
gcc-10 build which gives the following error without this fix:
   
   ```
   /usr/bin/ld: libmxnet.a(elemwise_binary_broadcast_op_basic.cc.o): in 
function `void mxnet::op::BinaryBroadcastComputeDenseEx<mshadow::cpu, 
mxnet::op::mshadow_op::minus>(nnvm::NodeAttrs const&, mxnet::OpContext const&, 
std::vector<mxnet::NDArray, std::allocator<mxnet::NDArray> > const&, 
std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&, 
std::vector<mxnet::NDArray, std::allocator<mxnet::NDArray> > const&)':
   
elemwise_binary_broadcast_op_basic.cc:(.text._ZN5mxnet2op29BinaryBroadcastComputeDenseExIN7mshadow3cpuENS0_10mshadow_op5minusEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKSt6vectorINS_7NDArrayESaISE_EERKSD_INS_9OpReqTypeESaISJ_EESI_[_ZN5mxnet2op29BinaryBroadcastComputeDenseExIN7mshadow3cpuENS0_10mshadow_op5minusEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKSt6vectorINS_7NDArrayESaISE_EERKSD_INS_9OpReqTypeESaISJ_EESI_]+0x1aa4):
 undefined reference to `void 
mxnet::op::ElemwiseBinaryOp::DnsCsrDnsOp<mxnet::op::mshadow_op::minus>(mshadow::Stream<mshadow::cpu>*,
 nnvm::NodeAttrs const&, mxnet::OpContext const&, mxnet::NDArray const&, 
mxnet::NDArray const&, mxnet::OpReqType, mxnet::NDArray const&, bool)'
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to