未验证 提交 b1771368 编写于 作者: Z zyfncg 提交者: GitHub

fix compile problem (#46354)

上级 4c5f5d60
...@@ -425,7 +425,7 @@ cc_library( ...@@ -425,7 +425,7 @@ cc_library(
cc_library( cc_library(
shape_inference shape_inference
SRCS shape_inference.cc SRCS shape_inference.cc
DEPS ddim attribute) DEPS ddim attribute selected_rows_utils)
# every source file that includes "dnnl.h" must depends on mkldnn # every source file that includes "dnnl.h" must depends on mkldnn
# or, the first one should depends on mkldnn # or, the first one should depends on mkldnn
...@@ -1127,7 +1127,7 @@ cc_test( ...@@ -1127,7 +1127,7 @@ cc_test(
cc_library( cc_library(
selected_rows_utils selected_rows_utils
SRCS selected_rows_utils.cc SRCS selected_rows_utils.cc
DEPS selected_rows serialization) DEPS selected_rows serialization device_context)
cc_test( cc_test(
selected_rows_utils_test selected_rows_utils_test
SRCS selected_rows_utils_test.cc SRCS selected_rows_utils_test.cc
......
...@@ -19,10 +19,7 @@ limitations under the License. */ ...@@ -19,10 +19,7 @@ limitations under the License. */
#include "paddle/phi/common/layout.h" #include "paddle/phi/common/layout.h"
#include "paddle/phi/core/tensor_meta.h" #include "paddle/phi/core/tensor_meta.h"
// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/framework/data_type.h" #include "paddle/fluid/framework/data_type.h"
#include "paddle/fluid/framework/lod_tensor.h"
#include "paddle/fluid/platform/place.h"
// TODO(chenweihang): this file may need to be removed // TODO(chenweihang): this file may need to be removed
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册