MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / wakeupHpcThreadPool

Function wakeupHpcThreadPool

mllm/backends/cpu/CPUBackend.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void 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

Callers 1

streamGenerateMethod · 0.85

Calls 3

getBackendMethod · 0.80
getThreadPoolMethod · 0.80
wakeupMethod · 0.80

Tested by

no test coverage detected