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

Method add_callback

src/core/impl/comp_node/cpu/comp_node.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34} // anonymous namespace
35
36void CpuCompNode::CpuDispatchableBase::add_callback(Task&& task) {
37 dispatch(std::move(task));
38}
39
40class CpuCompNode::WorkerQueue final : public AsyncQueueSC<TaskElem, WorkerQueue> {
41 const Locator m_locator;

Callers 4

do_device_wait_byMethod · 0.45
do_device_wait_byMethod · 0.45
do_device_wait_byMethod · 0.45
do_device_wait_byMethod · 0.45

Calls 1

dispatchFunction · 0.85

Tested by

no test coverage detected