From 52a0be7bb437e574d7fda8d322c816e91029e438 Mon Sep 17 00:00:00 2001 From: dongdaxiang Date: Sat, 1 Dec 2018 13:54:44 +0800 Subject: [PATCH] add mct into CMakeLists.txt --- CMakeLists.txt | 5 ++++- paddle/fluid/framework/async_executor.h | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5251fe286f8..8c929396fff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,6 @@ endif() ######################################################################################## include(external/mklml) # download mklml package -include(external/pslib) # download mklml package include(external/xbyak) # download xbyak package include(external/libxsmm) # download, build, install libxsmm include(external/zlib) # download, build, install zlib @@ -217,6 +216,9 @@ include(external/warpctc) # download, build, install warpctc include(cupti) include(external/gzstream) endif (NOT WIN32) +include(external/libmct) +include(external/pslib_brpc) +include(external/pslib) if(WITH_DISTRIBUTE) if(WITH_GRPC) @@ -277,6 +279,7 @@ set(EXTERNAL_LIBS protobuf zlib ${PYTHON_LIBRARIES} + pslib ) if(WITH_AMD_GPU) diff --git a/paddle/fluid/framework/async_executor.h b/paddle/fluid/framework/async_executor.h index f4d2a79ac59..6aa59c89dc4 100644 --- a/paddle/fluid/framework/async_executor.h +++ b/paddle/fluid/framework/async_executor.h @@ -40,6 +40,9 @@ class AsyncExecutor { const int thread_num, const std::vector& fetch_names, const bool debug = false); + void ConfigServer() {} + void ConfigWorker() {} + void StartServer() {} private: void CreateThreads(ExecutorThreadWorker* worker, -- GitLab