提交 ca4b3d25 编写于 作者: Y Yu Yang

Use 12 threads

上级 f251a58e
...@@ -253,7 +253,7 @@ struct FetchOpHandle : public OpHandle { ...@@ -253,7 +253,7 @@ struct FetchOpHandle : public OpHandle {
class ParallelExecutorPrivate { class ParallelExecutorPrivate {
public: public:
explicit ParallelExecutorPrivate(size_t num_threads = 0) explicit ParallelExecutorPrivate(size_t num_threads = 12)
: pool_(num_threads == 0 ? nullptr : new ThreadPool(num_threads)) {} : pool_(num_threads == 0 ? nullptr : new ThreadPool(num_threads)) {}
std::vector<platform::Place> places_; std::vector<platform::Place> places_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册