diff --git a/src/common/device_helpers.cuh b/src/common/device_helpers.cuh index 2d5393f3e..66aad05e1 100644 --- a/src/common/device_helpers.cuh +++ b/src/common/device_helpers.cuh @@ -851,7 +851,8 @@ class AllReducer { std::vector device_ordinals; #endif public: - AllReducer() : initialised_(false),debug_verbose_(false) {} + AllReducer() : initialised_(false),debug_verbose_(false), allreduce_bytes_(0), + allreduce_calls_(0) {} /** * \fn void Init(const std::vector &device_ordinals)