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

Method GetDeviceNum

core/lib/exec_context.cpp:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int ExecContext::GetDeviceNum(void)
86{
87 int num;
88
89 lock_.lock();
90 num = dev_list_.size();
91 lock_.unlock();
92
93 return num;
94}
95
96const char* ExecContext::GetDevice(int idx)
97{

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected