File tree Expand file tree Collapse file tree 17 files changed +28
-71
lines changed Expand file tree Collapse file tree 17 files changed +28
-71
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ if(WITH_NCCL OR WITH_RCCL)
2222 DEPS process_group
2323 phi
2424 common
25- place
2625 enforce
2726 collective_helper
2827 device_context
@@ -31,21 +30,15 @@ if(WITH_NCCL OR WITH_RCCL)
3130 cc_library(
3231 async_load
3332 SRCS async_load.cc
34- DEPS device_context place ${DEVICE_EVENT_LIBS} )
33+ DEPS device_context phi common ${DEVICE_EVENT_LIBS} )
3534
3635endif ()
3736
3837if (WITH_XPU_BKCL)
3938 cc_library(
4039 process_group_bkcl
4140 SRCS process_group_bkcl.cc bkcl_tools.cc common.cc
42- DEPS process_group
43- phi
44- common
45- place
46- enforce
47- collective_helper
48- device_context)
41+ DEPS process_group phi common enforce collective_helper device_context)
4942endif ()
5043
5144if (WITH_MPI)
@@ -59,13 +52,7 @@ if(WITH_CUSTOM_DEVICE)
5952 cc_library(
6053 process_group_custom
6154 SRCS process_group_custom.cc custom_ccl_tools.cc common.cc
62- DEPS process_group
63- phi
64- common
65- place
66- enforce
67- collective_helper
68- device_context)
55+ DEPS process_group phi common enforce collective_helper device_context)
6956endif ()
7057
7158set (COMM_UTILS_DEPS process_group)
Original file line number Diff line number Diff line change 11cc_library(
22 global_utils
33 SRCS global_utils.cc
4- DEPS place tracer)
4+ DEPS phi common tracer)
55
66if (NOT (NOT WITH_PYTHON AND ON_INFER))
77 cc_library(
Original file line number Diff line number Diff line change @@ -123,12 +123,12 @@ cc_library(
123123cc_library(
124124 tensor
125125 SRCS tensor_util.cc
126- DEPS place fluid_memory data_type device_context phi common)
126+ DEPS fluid_memory data_type device_context phi common)
127127
128128cc_library(
129129 lod_tensor
130130 SRCS lod_tensor.cc
131- DEPS phi common place tensor framework_proto version )
131+ DEPS phi common tensor framework_proto version )
132132
133133cc_library(
134134 garbage_collector
@@ -290,15 +290,14 @@ cc_library(
290290cc_library(
291291 op_kernel_type
292292 SRCS op_kernel_type.cc
293- DEPS device_context place )
293+ DEPS device_context phi common )
294294
295295if (WITH_XPU)
296296 cc_library(
297297 phi_utils
298298 SRCS phi_utils.cc
299299 DEPS lod_tensor
300300 selected_rows_utils
301- place
302301 phi
303302 common
304303 var_type_traits
@@ -308,13 +307,7 @@ else()
308307 cc_library(
309308 phi_utils
310309 SRCS phi_utils.cc
311- DEPS lod_tensor
312- selected_rows_utils
313- place
314- phi
315- common
316- var_type_traits
317- op_info)
310+ DEPS lod_tensor selected_rows_utils phi common var_type_traits op_info)
318311endif ()
319312
320313if (WITH_XPU)
@@ -920,7 +913,6 @@ cc_library(
920913 DEPS lod_tensor
921914 selected_rows_utils
922915 attribute
923- place
924916 var_type_traits
925917 phi
926918 common
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ set(op_handle_srcs
1111set (op_handle_deps
1212 pass
1313 operator
14- place
14+ phi
15+ common
1516 framework_proto
1617 node
1718 device_context
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ if(WITH_XPU)
2222 phi
2323 common
2424 var_helper
25- profiler
26- place)
25+ profiler)
2726else ()
2827 cc_library(
2928 prepared_operator
3938 phi
4039 common
4140 var_helper
42- profiler
43- place)
41+ profiler)
4442endif ()
4543cc_library(
4644 layer
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if(WITH_ONEDNN)
77else ()
88 set (ONEDNN_CTX_DEPS)
99endif ()
10- set (fluid_memory_deps place enforce common allocator ${ONEDNN_CTX_DEPS} )
10+ set (fluid_memory_deps phi enforce common allocator ${ONEDNN_CTX_DEPS} )
1111
1212cc_library(
1313 fluid_memory
Original file line number Diff line number Diff line change 11include (ExternalProject)
22
3- set (ALLOCATOR_DEPS place profiler phi common device_context)
3+ set (ALLOCATOR_DEPS profiler phi common device_context)
44set (ALLOCATOR_SRCS
55 allocator.cc
66 cpu_allocator.cc
Original file line number Diff line number Diff line change @@ -32,14 +32,10 @@ cc_test(
3232 SRCS os_info_test.cc
3333 DEPS phi common)
3434
35- cc_library(
36- place
37- SRCS place.cc
38- DEPS enforce phi common)
3935cc_test(
4036 place_test
4137 SRCS place_test.cc
42- DEPS place glog phi common)
38+ DEPS glog phi common)
4339
4440if (WITH_ONEDNN)
4541 set (ONEDNN_CTX_DEPS onednn)
@@ -120,7 +116,6 @@ cc_library(
120116 allocator
121117 xxhash
122118 ${STREAM_CALLBACK_DEPS}
123- place
124119 eigen3
125120 cpu_helper
126121 framework_proto
@@ -160,7 +155,7 @@ set(DEVICE_EVENT_LIBS)
160155cc_library(
161156 device_event_base
162157 SRCS device_event_base.cc
163- DEPS place enforce device_context op_registry common)
158+ DEPS enforce device_context op_registry phi common)
164159set (DEVICE_EVENT_LIBS
165160 device_event_base
166161 CACHE INTERNAL "device event libs" )
@@ -247,7 +242,6 @@ cc_library(
247242 SRCS lodtensor_printer.cc
248243 DEPS phi
249244 common
250- place
251245 tensor
252246 scope
253247 lod_tensor
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ cc_library(
1818 enforce
1919 xpulib
2020 device_context
21- place
2221 phi
2322 common
2423 dynload_xpti)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments