ONE - On-device Neural Engine
|
Class to schedule tasks. More...
#include <HEScheduler.h>
Public Member Functions | |
HEScheduler (const std::vector< const backend::Backend * > &backends, const CompilerOptions &options) | |
Construct a new Heterogeneous Execution Scheduler object. | |
std::unique_ptr< compiler::BackendResolver > | schedule (const ir::Graph &graph) final |
Task scheduling. | |
std::shared_ptr< ir::OperationIndexMap< int64_t > > | getIndexedRanks () |
Class to schedule tasks.
Definition at line 47 of file HEScheduler.h.
|
inline |
Construct a new Heterogeneous Execution Scheduler object.
[in] | model | Graph model |
[in] | backend_resolver | backend resolver |
Definition at line 55 of file HEScheduler.h.
References entry(), and onert::backend::builtin::Config::ID.
|
inline |
Definition at line 88 of file HEScheduler.h.
|
finalvirtual |
Task scheduling.
Implements onert::compiler::IScheduler.
Definition at line 183 of file HEScheduler.cc.
References onert::util::ObjectManager< Index, Object >::iterate(), onert::ir::Graph::operations(), schedule(), and VERBOSE.
Referenced by schedule().