MCPcopy Create free account
hub / github.com/OAID/Tengine / Postrun

Method Postrun

executor/lib/graph_task.cpp:415–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415void GraphTask::Postrun(void)
416{
417 if(status_ == EXEC_STATUS_RUN)
418 return;
419
420 DevScheduler* scheduler = dev_engine_->GetScheduler();
421
422 for(auto e : sub_task_list_)
423 {
424 scheduler->PostrunTask(dev_engine_, e->dev_executor, e);
425 e->attached = false;
426 }
427
428 status_ = EXEC_STATUS_INVALID;
429}
430
431void GraphTask::OnOutputSubgraphTaskDone(SubgraphTask* sub_task)
432{

Callers 1

DevPostrunMethod · 0.45

Calls 2

GetSchedulerMethod · 0.80
PostrunTaskMethod · 0.45

Tested by

no test coverage detected