Fix neurun build error (#4520)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 27 Feb 2019 08:17:57 +0000 (17:17 +0900)
committer이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Wed, 27 Feb 2019 08:17:57 +0000 (17:17 +0900)
Fix neurun build error by conflict DataflowExecutor and Subgraph implementation. It's just workaround

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
runtimes/neurun/src/exec/DataflowExecutor.cc

index 87f1c66..0027342 100644 (file)
@@ -50,7 +50,7 @@ DataflowExecutor::DataflowExecutor(
     const std::shared_ptr<const model::Model> &model,
     std::unique_ptr<graph::LowerInfoMap> lower_info,
     const std::shared_ptr<compiler::operand::Context> &operand_context, CodeMap &&code_map)
-    : ExecutorBase{model, std::move(lower_info)}, _operand_context{operand_context},
+    : ExecutorBase{model, nullptr, std::move(lower_info)}, _operand_context{operand_context},
       _code_map{std::move(code_map)}
 {
   VERBOSE(DataflowExecutor) << "Constructing Dataflow Executor" << std::endl;