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

Method set_async_level

src/core/impl/graph/normal_exec_env.h:68–71  ·  view source on GitHub ↗

see ComputingGraph::Options::async_exec_level

Source from the content-addressed store, hash-verified

66public:
67 //! see ComputingGraph::Options::async_exec_level
68 void set_async_level(int level) {
69 mgb_assert(m_worker_task_queue.empty() && m_sync_task_queue.empty());
70 m_async_level = level;
71 }
72
73 /*!
74 * \brief register a compuing node

Callers 1

on_first_execMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected