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

Method ReleaseNodeInputWaitCounter

executor/lib/graph_task.cpp:818–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816}
817
818void SubgraphTask::ReleaseNodeInputWaitCounter(Node* node)
819{
820 if(!node->ExistAttr("input_wait_counter"))
821 return;
822
823 std::atomic<std::uint64_t>* p_counter = any_cast<std::atomic<std::uint64_t>*>(node->GetAttr("input_wait_counter"));
824
825 delete p_counter;
826}
827
828void SubgraphTask::Release(void)
829{

Callers

nothing calls this directly

Calls 2

ExistAttrMethod · 0.45
GetAttrMethod · 0.45

Tested by

no test coverage detected