| 453 | } |
| 454 | |
| 455 | SmallVector<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 | |
| 464 | void ComputingGraphImpl::dest_var_optimize(VarNodeArray& dest_vars) { |
| 465 | using F = VarNode::Flag; |