Skip to content

Commit

Permalink
fix compile problem (#46354), test=kunlun (#46383)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyfncg authored Sep 23, 2022
1 parent 484377c commit 6a50833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ cc_library(
cc_library(
shape_inference
SRCS shape_inference.cc
DEPS ddim attribute)
DEPS ddim attribute selected_rows_utils)

# every source file that includes "dnnl.h" must depends on mkldnn
# or, the first one should depends on mkldnn
Expand Down Expand Up @@ -1080,7 +1080,7 @@ cc_test(
cc_library(
selected_rows_utils
SRCS selected_rows_utils.cc
DEPS selected_rows serialization)
DEPS selected_rows serialization device_context)
cc_test(
selected_rows_utils_test
SRCS selected_rows_utils_test.cc
Expand Down
3 changes: 0 additions & 3 deletions paddle/fluid/framework/convert_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ limitations under the License. */
#include "paddle/phi/common/layout.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/lod_tensor.h"
#include "paddle/fluid/platform/place.h"

// TODO(chenweihang): this file may need to be removed

Expand Down

0 comments on commit 6a50833

Please sign in to comment.