| 91 | } |
| 92 | |
| 93 | void* CPUDriver::CreateGraphHandle(Device* dev, Subgraph* graph) |
| 94 | { |
| 95 | DevContext* context = new DevContext(); |
| 96 | CPUDevice* cpu_dev = dynamic_cast<CPUDevice*>(dev); |
| 97 | |
| 98 | context->dev = cpu_dev; |
| 99 | context->sub_graph = graph; |
| 100 | context->graph_cb = nullptr; |
| 101 | context->optimized_graph = nullptr; |
| 102 | |
| 103 | return context; |
| 104 | } |
| 105 | |
| 106 | void* CPUDriver::CreateGraphHandle(Device* dev) |
| 107 | { |
no outgoing calls
no test coverage detected