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

Method wait_all

src/core/impl/graph/normal_exec_env.cpp:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void NormalExecEnv::wait_all() {
150 if (!m_worker_task_queue.empty()) {
151 if (m_worker_task_queue.size() > 1 || (m_async_level & 0b100)) {
152 m_worker_set.wait_all();
153 }
154 }
155}
156
157void NormalExecEnv::clear() {
158 for (auto&& i : m_worker_task_queue)

Callers 2

performMethod · 0.45

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected