From 1f7e9546c5d2ae18c8d7588e62a30fc704a97f5a Mon Sep 17 00:00:00 2001 From: OccupyMars2025 <31559413+OccupyMars2025@users.noreply.github.com> Date: Fri, 5 Aug 2022 17:22:36 +0800 Subject: [PATCH] modify pybind.cc (maybe a typo) (#44883) --- paddle/fluid/pybind/pybind.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index f93e9b6de9..c7561bc2fd 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -331,8 +331,9 @@ bool SupportsVNNI() { bool IsCompiledWithBrpc() { #ifndef PADDLE_WITH_DISTRIBUTE return false; -#endif +#else return true; +#endif } bool IsCompiledWithDIST() { -- GitLab