Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OAID/Tengine
/ AttachCPUDevice
Method
AttachCPUDevice
driver/cpu/cpu_runner.cpp:1053–1057 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1051
}
1052
1053
void CPURunner::AttachCPUDevice(CPUDevice* cpu_dev)
1054
{
1055
cpu_dev_ = cpu_dev;
1056
cpu_info_ = cpu_dev_->GetCPUInfo();
1057
}
1058
1059
bool CPURunner::SetGraphPerfStat(Subgraph* graph, int action)
1060
{
Callers
1
CPUDevice
Method · 0.80
Calls
1
GetCPUInfo
Method · 0.80
Tested by
no test coverage detected