From 1a22226d8b6600c4c9407ac559d75d8e6baea0f5 Mon Sep 17 00:00:00 2001 From: Ruibiao Chen Date: Tue, 26 Jul 2022 10:46:28 +0800 Subject: [PATCH] Rename pybind_boost_header.h (#44592) --- paddle/fluid/pybind/compatible.cc | 2 +- paddle/fluid/pybind/imperative.cc | 2 +- paddle/fluid/pybind/io.cc | 2 +- paddle/fluid/pybind/io.h | 2 +- paddle/fluid/pybind/parallel_executor.cc | 2 +- paddle/fluid/pybind/place.cc | 2 +- paddle/fluid/pybind/protobuf.cc | 2 +- paddle/fluid/pybind/pybind.cc | 2 +- .../pybind/{pybind_boost_headers.h => pybind_variant_caster.h} | 0 paddle/fluid/pybind/tensor.cc | 2 +- 10 files changed, 9 insertions(+), 9 deletions(-) rename paddle/fluid/pybind/{pybind_boost_headers.h => pybind_variant_caster.h} (100%) diff --git a/paddle/fluid/pybind/compatible.cc b/paddle/fluid/pybind/compatible.cc index d358358f38..25bf9c7bd0 100644 --- a/paddle/fluid/pybind/compatible.cc +++ b/paddle/fluid/pybind/compatible.cc @@ -18,7 +18,7 @@ #include #include "paddle/fluid/framework/op_version_registry.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace py = pybind11; diff --git a/paddle/fluid/pybind/imperative.cc b/paddle/fluid/pybind/imperative.cc index 8a21271db4..d80bfb188a 100644 --- a/paddle/fluid/pybind/imperative.cc +++ b/paddle/fluid/pybind/imperative.cc @@ -54,7 +54,7 @@ limitations under the License. */ #include "paddle/fluid/operators/utils.h" #include "paddle/fluid/pybind/eager_utils.h" #include "paddle/fluid/pybind/op_function.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/fluid/pybind/slice_utils.h" #include "paddle/fluid/pybind/tensor_py.h" #include "paddle/fluid/pybind/uva_utils.h" diff --git a/paddle/fluid/pybind/io.cc b/paddle/fluid/pybind/io.cc index 811f2ae8af..c421c20b98 100644 --- a/paddle/fluid/pybind/io.cc +++ b/paddle/fluid/pybind/io.cc @@ -17,7 +17,7 @@ limitations under the License. */ #include "paddle/fluid/framework/lod_tensor.h" #include "paddle/fluid/framework/selected_rows_utils.h" #include "paddle/fluid/platform/enforce.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace py = pybind11; namespace paddle { diff --git a/paddle/fluid/pybind/io.h b/paddle/fluid/pybind/io.h index 7f10306e91..10c4258228 100644 --- a/paddle/fluid/pybind/io.h +++ b/paddle/fluid/pybind/io.h @@ -21,7 +21,7 @@ typedef SSIZE_T ssize_t; #include -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace paddle { namespace pybind { diff --git a/paddle/fluid/pybind/parallel_executor.cc b/paddle/fluid/pybind/parallel_executor.cc index f1d2f456a2..ba1d4ca250 100644 --- a/paddle/fluid/pybind/parallel_executor.cc +++ b/paddle/fluid/pybind/parallel_executor.cc @@ -114,7 +114,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) diff --git a/paddle/fluid/pybind/place.cc b/paddle/fluid/pybind/place.cc index 84dca60c21..217edf96f1 100644 --- a/paddle/fluid/pybind/place.cc +++ b/paddle/fluid/pybind/place.cc @@ -114,7 +114,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) diff --git a/paddle/fluid/pybind/protobuf.cc b/paddle/fluid/pybind/protobuf.cc index b30f5f4257..25d72f0246 100644 --- a/paddle/fluid/pybind/protobuf.cc +++ b/paddle/fluid/pybind/protobuf.cc @@ -26,7 +26,7 @@ limitations under the License. */ #include "paddle/fluid/framework/var_desc.h" #include "paddle/fluid/framework/version.h" #include "paddle/fluid/jit/property.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace py = pybind11; diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index cf94fc57fc..df5b2c2712 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -115,7 +115,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) diff --git a/paddle/fluid/pybind/pybind_boost_headers.h b/paddle/fluid/pybind/pybind_variant_caster.h similarity index 100% rename from paddle/fluid/pybind/pybind_boost_headers.h rename to paddle/fluid/pybind/pybind_variant_caster.h diff --git a/paddle/fluid/pybind/tensor.cc b/paddle/fluid/pybind/tensor.cc index 6ee72e0c16..660d9badc3 100644 --- a/paddle/fluid/pybind/tensor.cc +++ b/paddle/fluid/pybind/tensor.cc @@ -114,7 +114,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) -- GitLab