From bef46ccfc8ccf6714ccd1575389ca0bc1c853063 Mon Sep 17 00:00:00 2001 From: liuyuhui Date: Fri, 5 Feb 2021 17:55:35 +0800 Subject: [PATCH] [Kunlun]fix include files of gen_comm_id_helper.cc (#30917) --- paddle/fluid/platform/gen_comm_id_helper.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/platform/gen_comm_id_helper.cc b/paddle/fluid/platform/gen_comm_id_helper.cc index d6c437cbb0..b25696c035 100644 --- a/paddle/fluid/platform/gen_comm_id_helper.cc +++ b/paddle/fluid/platform/gen_comm_id_helper.cc @@ -20,13 +20,18 @@ limitations under the License. */ #include #include #include +#include #include -#include +#include // NOLINT #include "glog/logging.h" #include "paddle/fluid/platform/enforce.h" #include "paddle/fluid/string/split.h" +#if defined(PADDLE_WITH_XPU_BKCL) +#include "xpu/bkcl.h" +#endif + namespace paddle { namespace platform { -- GitLab