Skip to content

Commit 2e418a5

Browse files
committed
fix conflicts
1 parent 3df99e7 commit 2e418a5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

paddle/fluid/framework/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ cc_test(var_type_inference_test SRCS var_type_inference_test.cc DEPS op_registry
100100
proto_desc)
101101
cc_library(selected_rows SRCS selected_rows.cc DEPS tensor)
102102
cc_test(selected_rows_test SRCS selected_rows_test.cc DEPS selected_rows)
103-
cc_library(init SRCS init.cc DEPS gflags device_context place stringpiece operator cpu_helper)
104-
cc_test(init_test SRCS init_test.cc DEPS init)
103+
105104
cc_test(op_kernel_type_test SRCS op_kernel_type_test.cc DEPS place device_context framework_proto)
106105
cc_test(cow_ptr_tests SRCS details/cow_ptr_test.cc)
107106

paddle/fluid/platform/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ENDIF()
4646
# memcpy depends on device_context, here add deps individually for
4747
# avoiding cycle dependencies
4848
cc_library(device_context SRCS device_context.cc init.cc DEPS malloc
49-
place eigen3 stringpiece ${GPU_CTX_DEPS} ${MKLDNN_CTX_DEPS})
49+
place eigen3 stringpiece cpu_helper ${GPU_CTX_DEPS} ${MKLDNN_CTX_DEPS})
5050
nv_test(device_context_test SRCS device_context_test.cu DEPS device_context gpu_info)
5151

5252
cc_test(init_test SRCS init_test.cc DEPS device_context)

0 commit comments

Comments
 (0)