| 110 | } |
| 111 | |
| 112 | void wakeupHpcThreadPool() { |
| 113 | auto& ctx = Context::instance(); |
| 114 | auto host_bk = std::static_pointer_cast<::mllm::cpu::CPUBackend>(ctx.getBackend(kCPU)); |
| 115 | auto tp = host_bk->getThreadPool(); |
| 116 | if (tp) { tp->wakeup(); } |
| 117 | } |
| 118 | |
| 119 | } // namespace mllm::cpu |
no test coverage detected