You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/10/19 03:28:51 UTC

[GitHub] ZiyueHuang commented on issue #8338: master branch cannot build on centos 7 with cuda-8.0

ZiyueHuang commented on issue #8338: master branch cannot build on centos 7 with cuda-8.0
URL: https://github.com/apache/incubator-mxnet/issues/8338#issuecomment-337789562
 
 
   Thanks for your suggestions.
   
   Seems wired. It can build successfully on ubuntu. Why centos cannot?
   
   Yes, the error messages are complete. 
   
   Warnings are not fixed by reverting `smooth_l1`, I change these codes to
   ```
   struct smooth_l1_loss {
      // a is x, b is sigma2
      template<typename DType>
      MSHADOW_XINLINE static DType Map(DType a, DType b) {
        b *= b;
        if (a > (1.0f) / b) {
          return a - (0.5f) / b;
        } else if (a < (-1.0f) / b) {
          return -a - (0.5f) / b;
        } else {
          return (0.5f) * a * a * b;
        }
      }
    };  // struct smooth_l1_loss
   
   struct smooth_l1_gradient {
      // a is x, b is sigma2
      template<typename DType>
      MSHADOW_XINLINE static DType Map(DType a, DType b) {
        b *= b;
        if (a > (1.0f) / b) {
          return (1.0f);
        } else if (a < (-1.0f) / b) {
          return DType(-1.0f);
        } else {
          return b * a;
        }
      }
    };  // struct smooth_l1_derivative
   ```
   Below is the whole chunk of warning and error messages,
   ```
   src/operator/tensor/./../mshadow_op.h(1093): warning: floating-point value does not fit in required integral type
             detected during:
               instantiation of "DType mxnet::op::mshadow_op::smooth_l1_gradient::Map(DType, DType) [with DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mxnet::op::mshadow_op::smooth_l1_gradient, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::ScalarExp<uint8_t>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mshadow::op::mul, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): here
               instantiation of "void mshadow::cuda::MapPlanProc<Saver,DstPlan,Plan,block_dim_bits>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan, int) [with Saver=mshadow::sv::saveto, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>, block_dim_bits=8]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(83): here
               instantiation of "void mshadow::cuda::MapPlanKernel<Saver,block_dim_bits,DstPlan,Plan>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan) [with Saver=mshadow::sv::saveto, block_dim_bits=8, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(109): here
               instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./tensor_gpu-inl.h(115): here
               instantiation of "void mshadow::MapExp<Saver,R,dim,DType,E,etype>(mshadow::TRValue<R, mshadow::gpu, dim, DType> *, const mshadow::expr::Exp<E, DType, etype> &) [with Saver=mshadow::sv::saveto, R=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, dim=1, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(446): here
               instantiation of "void mshadow::expr::ExpEngine<SV, RV, DType>::Eval(RV *, const mshadow::expr::Exp<E, DType, 1> &) [with SV=mshadow::sv::saveto, RV=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./expression.h(167): here
               instantiation of "Container &mshadow::expr::RValueExp<Container, DType>::__assign(const mshadow::expr::Exp<E, DType, etype> &) [with Container=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/tensor.h(609): here
               instantiation of "mshadow::Tensor<Device, 1, DType> &mshadow::Tensor<Device, 1, DType>::operator=(const mshadow::expr::Exp<E, DType, etype> &) [with Device=mxnet::gpu, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   src/operator/tensor/./elemwise_binary_scalar_op.h(288): here
               instantiation of "void mxnet::op::BinaryScalarOp::Backward<xpu,OP>(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with xpu=mxnet::gpu, OP=mxnet::op::mshadow_op::smooth_l1_gradient]"
   src/operator/tensor/elemwise_binary_scalar_op_extended.cu(68): here
   
   src/operator/tensor/./../mshadow_op.h(1093): warning: floating-point value does not fit in required integral type
             detected during:
               instantiation of "DType mxnet::op::mshadow_op::smooth_l1_gradient::Map(DType, DType) [with DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mxnet::op::mshadow_op::smooth_l1_gradient, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::ScalarExp<uint8_t>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mshadow::op::mul, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): here
               instantiation of "void mshadow::cuda::MapPlanProc<Saver,DstPlan,Plan,block_dim_bits>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan, int) [with Saver=mshadow::sv::saveto, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>, block_dim_bits=8]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(83): here
               instantiation of "void mshadow::cuda::MapPlanKernel<Saver,block_dim_bits,DstPlan,Plan>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan) [with Saver=mshadow::sv::saveto, block_dim_bits=8, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(109): here
               instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./tensor_gpu-inl.h(115): here
               instantiation of "void mshadow::MapExp<Saver,R,dim,DType,E,etype>(mshadow::TRValue<R, mshadow::gpu, dim, DType> *, const mshadow::expr::Exp<E, DType, etype> &) [with Saver=mshadow::sv::saveto, R=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, dim=1, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(446): here
               instantiation of "void mshadow::expr::ExpEngine<SV, RV, DType>::Eval(RV *, const mshadow::expr::Exp<E, DType, 1> &) [with SV=mshadow::sv::saveto, RV=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./expression.h(167): here
               instantiation of "Container &mshadow::expr::RValueExp<Container, DType>::__assign(const mshadow::expr::Exp<E, DType, etype> &) [with Container=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/tensor.h(609): here
               instantiation of "mshadow::Tensor<Device, 1, DType> &mshadow::Tensor<Device, 1, DType>::operator=(const mshadow::expr::Exp<E, DType, etype> &) [with Device=mxnet::gpu, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   src/operator/tensor/./elemwise_binary_scalar_op.h(288): here
               instantiation of "void mxnet::op::BinaryScalarOp::Backward<xpu,OP>(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with xpu=mxnet::gpu, OP=mxnet::op::mshadow_op::smooth_l1_gradient]"
   src/operator/tensor/elemwise_binary_scalar_op_extended.cu(68): here
   
   src/operator/tensor/./../mshadow_op.h(1093): warning: floating-point value does not fit in required integral type
             detected during:
               instantiation of "DType mxnet::op::mshadow_op::smooth_l1_gradient::Map(DType, DType) [with DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mxnet::op::mshadow_op::smooth_l1_gradient, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::ScalarExp<uint8_t>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mshadow::op::mul, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): here
               instantiation of "void mshadow::cuda::MapPlanProc<Saver,DstPlan,Plan,block_dim_bits>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan, int) [with Saver=mshadow::sv::saveto, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>, block_dim_bits=8]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(83): here
               instantiation of "void mshadow::cuda::MapPlanKernel<Saver,block_dim_bits,DstPlan,Plan>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan) [with Saver=mshadow::sv::saveto, block_dim_bits=8, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(109): here
               instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./tensor_gpu-inl.h(115): here
               instantiation of "void mshadow::MapExp<Saver,R,dim,DType,E,etype>(mshadow::TRValue<R, mshadow::gpu, dim, DType> *, const mshadow::expr::Exp<E, DType, etype> &) [with Saver=mshadow::sv::saveto, R=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, dim=1, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(446): here
               instantiation of "void mshadow::expr::ExpEngine<SV, RV, DType>::Eval(RV *, const mshadow::expr::Exp<E, DType, 1> &) [with SV=mshadow::sv::saveto, RV=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./expression.h(167): here
               instantiation of "Container &mshadow::expr::RValueExp<Container, DType>::__assign(const mshadow::expr::Exp<E, DType, etype> &) [with Container=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/tensor.h(609): here
               instantiation of "mshadow::Tensor<Device, 1, DType> &mshadow::Tensor<Device, 1, DType>::operator=(const mshadow::expr::Exp<E, DType, etype> &) [with Device=mxnet::gpu, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   src/operator/tensor/./elemwise_binary_scalar_op.h(288): here
               instantiation of "void mxnet::op::BinaryScalarOp::Backward<xpu,OP>(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with xpu=mxnet::gpu, OP=mxnet::op::mshadow_op::smooth_l1_gradient]"
   src/operator/tensor/elemwise_binary_scalar_op_extended.cu(68): here
   
   src/operator/tensor/./../mshadow_op.h(1093): warning: floating-point value does not fit in required integral type
             detected during:
               instantiation of "DType mxnet::op::mshadow_op::smooth_l1_gradient::Map(DType, DType) [with DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mxnet::op::mshadow_op::smooth_l1_gradient, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::ScalarExp<uint8_t>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mshadow::op::mul, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): here
               instantiation of "void mshadow::cuda::MapPlanProc<Saver,DstPlan,Plan,block_dim_bits>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan, int) [with Saver=mshadow::sv::saveto, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>, block_dim_bits=8]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(83): here
               instantiation of "void mshadow::cuda::MapPlanKernel<Saver,block_dim_bits,DstPlan,Plan>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan) [with Saver=mshadow::sv::saveto, block_dim_bits=8, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(109): here
               instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./tensor_gpu-inl.h(115): here
               instantiation of "void mshadow::MapExp<Saver,R,dim,DType,E,etype>(mshadow::TRValue<R, mshadow::gpu, dim, DType> *, const mshadow::expr::Exp<E, DType, etype> &) [with Saver=mshadow::sv::saveto, R=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, dim=1, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(446): here
               instantiation of "void mshadow::expr::ExpEngine<SV, RV, DType>::Eval(RV *, const mshadow::expr::Exp<E, DType, 1> &) [with SV=mshadow::sv::saveto, RV=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./expression.h(167): here
               instantiation of "Container &mshadow::expr::RValueExp<Container, DType>::__assign(const mshadow::expr::Exp<E, DType, etype> &) [with Container=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/tensor.h(609): here
               instantiation of "mshadow::Tensor<Device, 1, DType> &mshadow::Tensor<Device, 1, DType>::operator=(const mshadow::expr::Exp<E, DType, etype> &) [with Device=mxnet::gpu, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   src/operator/tensor/./elemwise_binary_scalar_op.h(288): here
               instantiation of "void mxnet::op::BinaryScalarOp::Backward<xpu,OP>(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with xpu=mxnet::gpu, OP=mxnet::op::mshadow_op::smooth_l1_gradient]"
   src/operator/tensor/elemwise_binary_scalar_op_extended.cu(68): here
   
   src/operator/tensor/./../mshadow_op.h(1093): warning: floating-point value does not fit in required integral type
             detected during:
               instantiation of "DType mxnet::op::mshadow_op::smooth_l1_gradient::Map(DType, DType) [with DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mxnet::op::mshadow_op::smooth_l1_gradient, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::ScalarExp<uint8_t>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mshadow::op::mul, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): here
               instantiation of "void mshadow::cuda::MapPlanProc<Saver,DstPlan,Plan,block_dim_bits>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan, int) [with Saver=mshadow::sv::saveto, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>, block_dim_bits=8]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(83): here
               instantiation of "void mshadow::cuda::MapPlanKernel<Saver,block_dim_bits,DstPlan,Plan>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan) [with Saver=mshadow::sv::saveto, block_dim_bits=8, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(109): here
               instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./tensor_gpu-inl.h(115): here
               instantiation of "void mshadow::MapExp<Saver,R,dim,DType,E,etype>(mshadow::TRValue<R, mshadow::gpu, dim, DType> *, const mshadow::expr::Exp<E, DType, etype> &) [with Saver=mshadow::sv::saveto, R=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, dim=1, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(446): here
               instantiation of "void mshadow::expr::ExpEngine<SV, RV, DType>::Eval(RV *, const mshadow::expr::Exp<E, DType, 1> &) [with SV=mshadow::sv::saveto, RV=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./expression.h(167): here
               instantiation of "Container &mshadow::expr::RValueExp<Container, DType>::__assign(const mshadow::expr::Exp<E, DType, etype> &) [with Container=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/tensor.h(609): here
               instantiation of "mshadow::Tensor<Device, 1, DType> &mshadow::Tensor<Device, 1, DType>::operator=(const mshadow::expr::Exp<E, DType, etype> &) [with Device=mxnet::gpu, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   src/operator/tensor/./elemwise_binary_scalar_op.h(288): here
               instantiation of "void mxnet::op::BinaryScalarOp::Backward<xpu,OP>(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with xpu=mxnet::gpu, OP=mxnet::op::mshadow_op::smooth_l1_gradient]"
   src/operator/tensor/elemwise_binary_scalar_op_extended.cu(68): here
   
   src/operator/tensor/./../mshadow_op.h(1093): warning: floating-point value does not fit in required integral type
             detected during:
               instantiation of "DType mxnet::op::mshadow_op::smooth_l1_gradient::Map(DType, DType) [with DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mxnet::op::mshadow_op::smooth_l1_gradient, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::ScalarExp<uint8_t>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(131): here
               instantiation of "DType mshadow::expr::Plan<mshadow::expr::BinaryMapExp<OP, TA, TB, DType, etype>, DType>::Eval(mshadow::index_t, mshadow::index_t) const [with OP=mshadow::op::mul, TA=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, TB=mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, etype=1, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): here
               instantiation of "void mshadow::cuda::MapPlanProc<Saver,DstPlan,Plan,block_dim_bits>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan, int) [with Saver=mshadow::sv::saveto, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>, block_dim_bits=8]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(83): here
               instantiation of "void mshadow::cuda::MapPlanKernel<Saver,block_dim_bits,DstPlan,Plan>(DstPlan, mshadow::index_t, mshadow::Shape<2>, Plan) [with Saver=mshadow::sv::saveto, block_dim_bits=8, DstPlan=mshadow::expr::Plan<mshadow::Tensor<mxnet::gpu, 1, uint8_t>, uint8_t>, Plan=mshadow::expr::Plan<mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, uint8_t>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(109): here
               instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, DType=uint8_t]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./tensor_gpu-inl.h(115): here
               instantiation of "void mshadow::MapExp<Saver,R,dim,DType,E,etype>(mshadow::TRValue<R, mshadow::gpu, dim, DType> *, const mshadow::expr::Exp<E, DType, etype> &) [with Saver=mshadow::sv::saveto, R=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, dim=1, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/././expr_engine-inl.h(446): here
               instantiation of "void mshadow::expr::ExpEngine<SV, RV, DType>::Eval(RV *, const mshadow::expr::Exp<E, DType, 1> &) [with SV=mshadow::sv::saveto, RV=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>]"
   /home/hanfeng/zyh/build/mshadow/mshadow/./expression.h(167): here
               instantiation of "Container &mshadow::expr::RValueExp<Container, DType>::__assign(const mshadow::expr::Exp<E, DType, etype> &) [with Container=mshadow::Tensor<mxnet::gpu, 1, uint8_t>, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   /home/hanfeng/zyh/build/mshadow/mshadow/tensor.h(609): here
               instantiation of "mshadow::Tensor<Device, 1, DType> &mshadow::Tensor<Device, 1, DType>::operator=(const mshadow::expr::Exp<E, DType, etype> &) [with Device=mxnet::gpu, DType=uint8_t, E=mshadow::expr::BinaryMapExp<mshadow::op::mul, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::BinaryMapExp<mxnet::op::mshadow_op::smooth_l1_gradient, mshadow::Tensor<mxnet::gpu, 1, uint8_t>, mshadow::expr::ScalarExp<uint8_t>, uint8_t, 1>, uint8_t, 1>, etype=1]"
   src/operator/tensor/./elemwise_binary_scalar_op.h(288): here
               instantiation of "void mxnet::op::BinaryScalarOp::Backward<xpu,OP>(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &, const std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType>> &, const std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob>> &) [with xpu=mxnet::gpu, OP=mxnet::op::mshadow_op::smooth_l1_gradient]"
   src/operator/tensor/elemwise_binary_scalar_op_extended.cu(68): here
   
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): error: expression preceding parentheses of apparent call must have (pointer-to-) function type
   
   /home/hanfeng/zyh/build/mshadow/mshadow/././././cuda/tensor_gpu-inl.cuh(75): error: expression preceding parentheses of apparent call must have (pointer-to-) function type
   
   2 errors detected in the compilation of "/tmp/tmpxft_00004e32_00000000-24_activation.compute_30.cpp2.i".
   make: *** [build/src/operator/activation_gpu.o] Error 2
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services