Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
0dd895d2
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
0dd895d2
编写于
8月 11, 2022
作者:
Z
zhaocaibei123
提交者:
GitHub
8月 11, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Refine cpups cmake (#45055)
* first refine * second refine * remove some code unuseful
上级
8ea83400
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
45 addition
and
113 deletion
+45
-113
paddle/fluid/distributed/ps/service/CMakeLists.txt
paddle/fluid/distributed/ps/service/CMakeLists.txt
+22
-35
paddle/fluid/distributed/ps/service/communicator/CMakeLists.txt
.../fluid/distributed/ps/service/communicator/CMakeLists.txt
+0
-10
paddle/fluid/distributed/ps/table/CMakeLists.txt
paddle/fluid/distributed/ps/table/CMakeLists.txt
+15
-27
paddle/fluid/distributed/test/CMakeLists.txt
paddle/fluid/distributed/test/CMakeLists.txt
+7
-39
paddle/fluid/pybind/CMakeLists.txt
paddle/fluid/pybind/CMakeLists.txt
+1
-2
未找到文件。
paddle/fluid/distributed/ps/service/CMakeLists.txt
浏览文件 @
0dd895d2
...
...
@@ -82,38 +82,35 @@ set_source_files_properties(
set_source_files_properties
(
coordinator_client.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
set_source_files_properties
(
ps_service/graph_py_service.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_library
(
brpc_utils
SRCS brpc_utils.cc
DEPS tensor device_context
${
COMMON_DEPS
}
${
RPC_DEPS
}
)
cc_library
(
downpour_server
SRCS graph_brpc_server.cc brpc_ps_server.cc
DEPS eigen3 table brpc_utils simple_threadpool
${
RPC_DEPS
}
)
cc_library
(
downpour_client
SRCS graph_brpc_client.cc brpc_ps_client.cc ps_local_client.cc
coordinator_client.cc
DEPS eigen3 table brpc_utils simple_threadpool
${
RPC_DEPS
}
)
cc_library
(
client
SRCS ps_client.cc
DEPS downpour_client
${
RPC_DEPS
}
)
cc_library
(
server
SRCS server.cc
DEPS downpour_server
${
RPC_DEPS
}
)
cc_library
(
communicator
SRCS communicator/communicator.cc
DEPS scope client table math_function selected_rows_functor
${
RPC_DEPS
}
)
cc_library
(
ps_service
SRCS ps_service/service.cc
DEPS communicator client server
${
RPC_DEPS
}
)
SRCS graph_brpc_server.cc
brpc_ps_server.cc
server.cc
graph_brpc_client.cc
brpc_ps_client.cc
ps_local_client.cc
coordinator_client.cc
ps_client.cc
communicator/communicator.cc
ps_service/service.cc
ps_service/graph_py_service.cc
DEPS eigen3
table
brpc_utils
simple_threadpool
scope
math_function
selected_rows_functor
${
RPC_DEPS
}
)
cc_library
(
heter_client
...
...
@@ -123,13 +120,3 @@ cc_library(
heter_server
SRCS heter_server.cc
DEPS heter_client brpc_utils
${
COMMON_DEPS
}
${
RPC_DEPS
}
)
set_source_files_properties
(
ps_service/graph_py_service.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_library
(
graph_py_service
SRCS ps_service/graph_py_service.cc
DEPS ps_service
)
#add_subdirectory(communicator)
paddle/fluid/distributed/ps/service/communicator/CMakeLists.txt
已删除
100755 → 0
浏览文件 @
8ea83400
get_property
(
RPC_DEPS GLOBAL PROPERTY RPC_DEPS
)
set
(
DISTRIBUTE_COMPILE_FLAGS
"
${
DISTRIBUTE_COMPILE_FLAGS
}
-faligned-new"
)
set_source_files_properties
(
communicator.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_library
(
communicator
SRCS communicator.cc
DEPS scope client table math_function selected_rows_functor
${
RPC_DEPS
}
)
paddle/fluid/distributed/ps/table/CMakeLists.txt
浏览文件 @
0dd895d2
...
...
@@ -53,10 +53,6 @@ cc_library(
set_source_files_properties
(
tensor_accessor.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_library
(
tensor_accessor
SRCS tensor_accessor.cc
DEPS
${
TABLE_DEPS
}
eigen3 ps_framework_proto device_context
)
cc_library
(
tensor_table
SRCS
...
...
@@ -89,36 +85,28 @@ set_source_files_properties(
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_library
(
sparse_sgd_ru
le
tab
le
SRCS sparse_sgd_rule.cc
DEPS
${
TABLE_DEPS
}
ps_framework_proto
)
cc_library
(
ctr_accessor
SRCS ctr_accessor.cc ctr_double_accessor.cc sparse_accessor.cc
ctr_accessor.cc
ctr_double_accessor.cc
sparse_accessor.cc
ctr_dymf_accessor.cc
DEPS
${
TABLE_DEPS
}
ps_framework_proto sparse_sgd_rule
)
cc_library
(
sparse_table
SRCS memory_sparse_table.cc ssd_sparse_table.cc memory_sparse_geo_table.cc
DEPS ps_framework_proto
${
TABLE_DEPS
}
fs
afs_wrapper
ctr_accessor
common_table
rocksdb
)
cc_library
(
table
SRCS table.cc
DEPS sparse_table
tensor_accessor.cc
memory_sparse_table.cc
ssd_sparse_table.cc
memory_sparse_geo_table.cc
table.cc
DEPS
${
TABLE_DEPS
}
common_table
tensor_accessor
tensor_table
ps_framework_proto
string_helper
device_context
gflags
glog
)
glog
fs
afs_wrapper
rocksdb
eigen3
)
target_link_libraries
(
table -fopenmp
)
paddle/fluid/distributed/test/CMakeLists.txt
浏览文件 @
0dd895d2
...
...
@@ -3,23 +3,21 @@ set_source_files_properties(
cc_test
(
table_test
SRCS table_test.cc
DEPS common_table table tensor_accessor ps_framework_proto
${
COMMON_DEPS
}
${
RPC_DEPS
}
)
DEPS common_table table ps_framework_proto
${
COMMON_DEPS
}
${
RPC_DEPS
}
)
set_source_files_properties
(
dense_table_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
dense_table_test
SRCS dense_table_test.cc
DEPS common_table table tensor_accessor ps_framework_proto
${
COMMON_DEPS
}
${
RPC_DEPS
}
)
DEPS common_table table ps_framework_proto
${
COMMON_DEPS
}
${
RPC_DEPS
}
)
set_source_files_properties
(
barrier_table_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
barrier_table_test
SRCS barrier_table_test.cc
DEPS common_table table
tensor_accessor
ps_framework_proto
${
COMMON_DEPS
}
)
DEPS common_table table ps_framework_proto
${
COMMON_DEPS
}
)
set_source_files_properties
(
brpc_service_dense_sgd_test.cc PROPERTIES COMPILE_FLAGS
...
...
@@ -27,14 +25,7 @@ set_source_files_properties(
cc_test
(
brpc_service_dense_sgd_test
SRCS brpc_service_dense_sgd_test.cc
DEPS scope
server
client
communicator
ps_service
table
ps_framework_proto
${
COMMON_DEPS
}
)
DEPS scope ps_service table ps_framework_proto
${
COMMON_DEPS
}
)
set_source_files_properties
(
brpc_service_sparse_sgd_test.cc PROPERTIES COMPILE_FLAGS
...
...
@@ -42,14 +33,7 @@ set_source_files_properties(
cc_test
(
brpc_service_sparse_sgd_test
SRCS brpc_service_sparse_sgd_test.cc
DEPS scope
server
client
communicator
ps_service
table
ps_framework_proto
${
COMMON_DEPS
}
)
DEPS scope ps_service table ps_framework_proto
${
COMMON_DEPS
}
)
set_source_files_properties
(
brpc_utils_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
...
...
@@ -63,30 +47,14 @@ set_source_files_properties(
cc_test
(
graph_node_test
SRCS graph_node_test.cc
DEPS graph_py_service
scope
server
client
communicator
ps_service
table
ps_framework_proto
${
COMMON_DEPS
}
)
DEPS scope ps_service table ps_framework_proto
${
COMMON_DEPS
}
)
set_source_files_properties
(
graph_node_split_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
graph_node_split_test
SRCS graph_node_split_test.cc
DEPS graph_py_service
scope
server
client
communicator
ps_service
table
ps_framework_proto
${
COMMON_DEPS
}
)
DEPS scope ps_service table ps_framework_proto
${
COMMON_DEPS
}
)
set_source_files_properties
(
graph_table_sample_test.cc PROPERTIES COMPILE_FLAGS
...
...
paddle/fluid/pybind/CMakeLists.txt
浏览文件 @
0dd895d2
...
...
@@ -44,7 +44,6 @@ set(PYBIND_DEPS
if
(
WITH_PSCORE
)
set
(
PYBIND_DEPS
${
PYBIND_DEPS
}
ps_service
)
set
(
PYBIND_DEPS
${
PYBIND_DEPS
}
graph_py_service
)
if
(
WITH_HETERPS
)
set
(
PYBIND_DEPS
${
PYBIND_DEPS
}
graph_gpu_wrapper
)
endif
()
...
...
@@ -200,7 +199,7 @@ if(WITH_PSCORE)
endif
()
set_source_files_properties
(
fleet_py.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
list
(
APPEND PYBIND_DEPS fleet
communicator
index_wrapper index_sampler
)
list
(
APPEND PYBIND_DEPS fleet index_wrapper index_sampler
)
list
(
APPEND PYBIND_SRCS
)
set
(
PYBIND_SRCS fleet_py.cc
${
PYBIND_SRCS
}
)
endif
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录