Skip to content

Commit 4999f85

Browse files
committed
Clean RunDelayedOp method
1 parent c0f4e03 commit 4999f85

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

paddle/fluid/framework/details/threaded_ssa_graph_executor.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ ThreadedSSAGraphExecutor::ThreadedSSAGraphExecutor(
3333
running_ops_(0),
3434
allow_op_delay_(allow_op_delay) {}
3535

36-
void ThreadedSSAGraphExecutor::RunDelayedOps(
37-
const std::unordered_set<OpHandleBase *> &delayed_ops) {
38-
for (auto op : delayed_ops) {
39-
op->Run(use_event_);
40-
}
41-
}
42-
4336
FeedFetchList ThreadedSSAGraphExecutor::Run(
4437
const std::vector<std::string> &fetch_tensors) {
4538
std::unordered_map<OpHandleBase *, size_t> pending_ops;

paddle/fluid/framework/details/threaded_ssa_graph_executor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ class ThreadedSSAGraphExecutor : public SSAGraphExecutor {
8888
void RunOp(BlockingQueue<VarHandleBase *> *ready_var_q,
8989
details::OpHandleBase *op);
9090

91-
void RunDelayedOps(const std::unordered_set<OpHandleBase *> &delayed_ops);
92-
9391
private:
9492
std::unique_ptr<::ThreadPool> pool_;
9593
std::vector<Scope *> local_scopes_;

0 commit comments

Comments
 (0)