MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / start

Method start

src/core/impl/graph/swap/swap_helper.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void SwapCopyThreadPool::start() {
17 if ((++m_nr_start) == 1) {
18 m_pool.start(1);
19 }
20}
21
22void SwapCopyThreadPool::stop() {
23 auto pre = m_nr_start--;

Callers 3

start_execMethod · 0.45
search_actionMethod · 0.45
SwapVarRecorderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected