From 78c8c7dea501b5618b50780404356ca54cf6eee5 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Fri, 11 Nov 2022 11:25:09 +0800 Subject: [PATCH] remove "paddle/fluid/framework/op_registry.h" from phi (#47868) --- paddle/phi/kernels/funcs/batch_norm_utils.h | 1 - paddle/phi/kernels/gpudnn/affine_grid_grad_kernel.cu | 1 - paddle/phi/kernels/gpudnn/affine_grid_kernel.cu | 1 - 3 files changed, 3 deletions(-) diff --git a/paddle/phi/kernels/funcs/batch_norm_utils.h b/paddle/phi/kernels/funcs/batch_norm_utils.h index a7ed7d36eb..513266cb42 100644 --- a/paddle/phi/kernels/funcs/batch_norm_utils.h +++ b/paddle/phi/kernels/funcs/batch_norm_utils.h @@ -14,7 +14,6 @@ #pragma once -#include "paddle/fluid/framework/op_registry.h" #include "paddle/phi/kernels/funcs/math_function.h" namespace phi { diff --git a/paddle/phi/kernels/gpudnn/affine_grid_grad_kernel.cu b/paddle/phi/kernels/gpudnn/affine_grid_grad_kernel.cu index 3090e97e35..13c93c9d3f 100644 --- a/paddle/phi/kernels/gpudnn/affine_grid_grad_kernel.cu +++ b/paddle/phi/kernels/gpudnn/affine_grid_grad_kernel.cu @@ -15,7 +15,6 @@ #ifndef PADDLE_WITH_HIP #include "paddle/phi/kernels/affine_grid_grad_kernel.h" -#include "paddle/fluid/framework/op_registry.h" #include "paddle/fluid/platform/device/gpu/gpu_device_function.h" #include "paddle/fluid/platform/device/gpu/gpu_dnn.h" #include "paddle/fluid/platform/device/gpu/gpu_info.h" diff --git a/paddle/phi/kernels/gpudnn/affine_grid_kernel.cu b/paddle/phi/kernels/gpudnn/affine_grid_kernel.cu index 1cbd0c3646..7a1cb6d53a 100644 --- a/paddle/phi/kernels/gpudnn/affine_grid_kernel.cu +++ b/paddle/phi/kernels/gpudnn/affine_grid_kernel.cu @@ -15,7 +15,6 @@ #ifndef PADDLE_WITH_HIP #include "paddle/phi/kernels/affine_grid_kernel.h" -#include "paddle/fluid/framework/op_registry.h" #include "paddle/fluid/platform/device/gpu/gpu_device_function.h" #include "paddle/fluid/platform/device/gpu/gpu_dnn.h" #include "paddle/fluid/platform/device/gpu/gpu_info.h" -- GitLab