summaryrefslogtreecommitdiff
path: root/runtime/onert/core/src/compiler/HEScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/onert/core/src/compiler/HEScheduler.h')
-rw-r--r--runtime/onert/core/src/compiler/HEScheduler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/onert/core/src/compiler/HEScheduler.h b/runtime/onert/core/src/compiler/HEScheduler.h
index dbd71d4cb..f5075390d 100644
--- a/runtime/onert/core/src/compiler/HEScheduler.h
+++ b/runtime/onert/core/src/compiler/HEScheduler.h
@@ -57,6 +57,10 @@ public:
_is_linear_exec{options.executor == "Linear"},
_is_parallel_exec{options.executor == "Parallel"}
{
+ // Workaround to avoid unused-private-field warning
+ // TODO use _backend_contexts and remove workaround
+ (void)_backend_contexts;
+
for (auto &entry : backend_contexts)
{
_all_backends.push_back(entry.first);
@@ -173,7 +177,7 @@ private:
const ir::Graph *_graph{nullptr};
std::vector<const backend::Backend *>
_all_backends; // TODO Remove this and use _backend_contexts instead
- const backend::Backend *_cpu_backend{nullptr};
+ const backend::Backend *_cpu_backend{nullptr}; // TODO Change this to controlflow_backend
bool _is_profiling_mode;
bool _is_linear_exec;
bool _is_parallel_exec;