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

Method CreateNodeInputWaitCounter

executor/lib/graph_task.cpp:812–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

810}
811
812void SubgraphTask::CreateNodeInputWaitCounter(Node* node)
813{
814 std::atomic<std::uint64_t>* p_counter = new std::atomic<std::uint64_t>();
815 node->SetAttr("input_wait_counter", p_counter);
816}
817
818void SubgraphTask::ReleaseNodeInputWaitCounter(Node* node)
819{

Callers

nothing calls this directly

Calls 1

SetAttrMethod · 0.45

Tested by

no test coverage detected