MCPcopy 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
1053void CPURunner::AttachCPUDevice(CPUDevice* cpu_dev)
1054{
1055 cpu_dev_ = cpu_dev;
1056 cpu_info_ = cpu_dev_->GetCPUInfo();
1057}
1058
1059bool CPURunner::SetGraphPerfStat(Subgraph* graph, int action)
1060{

Callers 1

CPUDeviceMethod · 0.80

Calls 1

GetCPUInfoMethod · 0.80

Tested by

no test coverage detected