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

Method direct_call

src/core/impl/system.cpp:294–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 FuncInit init;
293
294 Result direct_call(const Param& param) const {
295 if (init)
296 init(param);
297 return func(param);
298 }
299 };
300 static constexpr uint8_t INIT_DONE_FLAG = 23;
301 ForkExecImpl m_fork_exec_impl;

Callers 1

invokeFunction · 0.80

Calls 2

initFunction · 0.50
funcFunction · 0.50

Tested by

no test coverage detected