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

Method nr_threads

src/core/impl/utils/thread_pool.cpp:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113size_t ThreadPool::nr_threads() const {
114 return m_nr_threads;
115}
116
117void ThreadPool::sync() {
118 bool no_finished = false;

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36