提交 9da0a7f4 编写于 作者: Y yaopenghui

add auc monitor

上级 f7d671a6
...@@ -132,7 +132,7 @@ public: ...@@ -132,7 +132,7 @@ public:
} }
virtual double all_reduce_ele(double x) { virtual double all_reduce_ele(double x) {
double tot; double tot = 0.0;
MPI_Allreduce(&x, &tot, 1, mpi_type_trait<double>::type(), MPI_SUM, MPI_COMM_WORLD); MPI_Allreduce(&x, &tot, 1, mpi_type_trait<double>::type(), MPI_SUM, MPI_COMM_WORLD);
return tot; return tot;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册