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

Method PostrunTask

executor/lib/generic_dev_executor.cpp:338–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338bool GenericDevExecutor::PostrunTask(SubgraphTask* task)
339{
340 if(task->graph_handle == nullptr)
341 return false;
342
343 task->Lock();
344
345 DevPostrun(task->graph_handle);
346 DevReleaseGraphHandle(task->graph_handle);
347
348 task->graph_handle = nullptr;
349
350 RemoveQueue(task);
351
352 task->Unlock();
353
354 return true;
355}
356
357bool GenericDevExecutor::RemoveQueue(SubgraphTask* task)
358{

Callers

nothing calls this directly

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected