diff --git a/paddle/phi/backends/dynload/lapack.h b/paddle/phi/backends/dynload/lapack.h index 1a680e32d1c32ee0d4e4cea01c02fbab58911fd4..74051821eaebba935bafb4df94c24cc5a1a638e0 100644 --- a/paddle/phi/backends/dynload/lapack.h +++ b/paddle/phi/backends/dynload/lapack.h @@ -17,7 +17,6 @@ limitations under the License. */ #include #include -#include "paddle/fluid/platform/complex.h" #include "paddle/phi/backends/dynload/dynamic_loader.h" #include "paddle/phi/backends/dynload/port.h" diff --git a/paddle/phi/kernels/cpu/concat_kernel.cc b/paddle/phi/kernels/cpu/concat_kernel.cc index 625d7d7436a4687bea71e9dfc108f213afa345b0..96e02f4c42046a72828d251465545654c3553b4a 100644 --- a/paddle/phi/kernels/cpu/concat_kernel.cc +++ b/paddle/phi/kernels/cpu/concat_kernel.cc @@ -15,9 +15,9 @@ #include "paddle/phi/kernels/concat_kernel.h" #include "paddle/fluid/operators/strided_memcpy.h" -#include "paddle/fluid/platform/complex.h" #include "paddle/phi/backends/cpu/cpu_context.h" #include "paddle/phi/common/bfloat16.h" +#include "paddle/phi/common/complex.h" #include "paddle/phi/common/scalar.h" #include "paddle/phi/core/dense_tensor.h" #include "paddle/phi/core/kernel_registry.h" diff --git a/paddle/phi/kernels/gpu/concat_kernel.cu b/paddle/phi/kernels/gpu/concat_kernel.cu index 7635c94cde789fdac4ea19d4a612308c6d386500..0666c60a8d0c12ef041a3e3fb973baad5573e38b 100644 --- a/paddle/phi/kernels/gpu/concat_kernel.cu +++ b/paddle/phi/kernels/gpu/concat_kernel.cu @@ -15,9 +15,9 @@ #include "paddle/phi/kernels/concat_kernel.h" #include "paddle/fluid/operators/strided_memcpy.h" -#include "paddle/fluid/platform/complex.h" #include "paddle/phi/backends/gpu/gpu_context.h" #include "paddle/phi/common/bfloat16.h" +#include "paddle/phi/common/complex.h" #include "paddle/phi/common/scalar.h" #include "paddle/phi/core/dense_tensor.h" #include "paddle/phi/core/kernel_registry.h" diff --git a/paddle/phi/kernels/gpu/pad_kernel.cu b/paddle/phi/kernels/gpu/pad_kernel.cu index cdf90513a3934ab14a63161329ad9e3ba6138d5c..90d81046b999dff33b8bec99a1047b634a5d4b99 100644 --- a/paddle/phi/kernels/gpu/pad_kernel.cu +++ b/paddle/phi/kernels/gpu/pad_kernel.cu @@ -14,8 +14,8 @@ #include "paddle/phi/kernels/pad_kernel.h" -#include "paddle/fluid/platform/complex.h" #include "paddle/phi/backends/gpu/gpu_context.h" +#include "paddle/phi/common/complex.h" #include "paddle/phi/core/kernel_registry.h" #include "paddle/phi/kernels/impl/pad_kernel_impl.h"