~one-compiler/onecc-docker/master

« back to all changes in this revision

Viewing changes to runtime/onert/core/src/backend/builtin/KernelGenerator.h

  • Committer: GitHub
  • Author(s): Hyeongseok Oh
  • Date: 2022-09-27 01:00:43 UTC
  • Revision ID: git-v1:4b33246486c6fb4b675042cc2dccce603617b2ee
[onert] Support multiple model on builtin backend (#9795)

This commit updates builtin backend to support multiple model on controlflow.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    _executors = executors.get();
51
51
  }
52
52
 
 
53
  void setModelIndex(const ir::ModelIndex &index) { _model_index = index; }
 
54
 
53
55
  std::unique_ptr<exec::FunctionSequence> generate(ir::OperationIndex ind) override;
54
56
 
55
57
private:
66
68
  std::shared_ptr<TensorRegistry> _tensor_reg;
67
69
  compiler::TensorRegistries _tensor_registries;
68
70
  exec::Executors *_executors;
 
71
  ir::ModelIndex _model_index;
69
72
  const std::shared_ptr<ExternalContext> _external_context;
70
73
};
71
74