From 6bc261b9330b1bb810e970e20cdce56b3d40f492 Mon Sep 17 00:00:00 2001 From: Dong Zhihong Date: Thu, 26 Oct 2017 09:15:15 -0700 Subject: [PATCH] fix ci --- paddle/operators/nccl/nccl_gpu_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/operators/nccl/nccl_gpu_common.h b/paddle/operators/nccl/nccl_gpu_common.h index eead7f79b..0d71eddf0 100644 --- a/paddle/operators/nccl/nccl_gpu_common.h +++ b/paddle/operators/nccl/nccl_gpu_common.h @@ -34,6 +34,8 @@ struct Communicator { std::vector comms_; std::unordered_map comm_id_map_; + Communicator() {} + int GetCommId(int device_id) const { return comm_id_map_.at(device_id); } void InitAll(const std::vector& gpus) { -- GitLab