| 244 | } |
| 245 | |
| 246 | Session* Interpreter::createMultiPathSession(const std::vector<ScheduleConfig>& configs) { |
| 247 | RuntimeInfo runtime = createRuntime(configs); |
| 248 | if (runtime.first.empty()) { |
| 249 | MNN_ERROR("Runtime not valid for create session\n"); |
| 250 | return nullptr; |
| 251 | } |
| 252 | return createMultiPathSession(configs, std::move(runtime)); |
| 253 | } |
| 254 | |
| 255 | Session* Interpreter::createMultiPathSession(const std::vector<ScheduleConfig>& configs, const RuntimeInfo& runtime) { |
| 256 | for (auto& iter : runtime.first) { |
nothing calls this directly
no test coverage detected