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

Method compile_multi_part

src/core/impl/graph/cg_impl.cpp:455–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455SmallVector<std::unique_ptr<AsyncExecutable>> ComputingGraphImpl::compile_multi_part(
456 const SmallVector<OutputSpec>& out_specs) {
457#if MGB_ENABLE_PARTIAL_EXECUTION
458 return MultiPartCompiler{this}.compile(out_specs);
459#else
460 mgb_throw(MegBrainError, "partial execution disabled at compile time");
461#endif
462}
463
464void ComputingGraphImpl::dest_var_optimize(VarNodeArray& dest_vars) {
465 using F = VarNode::Flag;

Callers 1

TESTFunction · 0.45

Calls 1

compileMethod · 0.45

Tested by 1

TESTFunction · 0.36