/*
* Copyright (c) 2023 Samsung Electronics Co., Ltd. All Rights Reserved
- * Copyright 2019 The TensorFlow Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#ifndef LUCI_INTERPRETER_KERNELS_NODES_BUILDERS_H
#define LUCI_INTERPRETER_KERNELS_NODES_BUILDERS_H
-#include "KernelBuilder.h"
#include "luci_interpreter/core/reader/CircleMicroReader.h"
-#include "core/RuntimeGraph.h"
+#include "core/RuntimeModule.h"
namespace luci_interpreter
{
+namespace
+{
+#ifdef USE_STATIC_ALLOC
+using BaseRuntimeGraph = StaticRuntimeGraph;
+#else
+using BaseRuntimeGraph = RuntimeGraph;
+#endif // USE_STATIC_ALLOC
+} // namespace
+
#define REGISTER_KERNEL(builtin_operator, name) \
void configure_kernel_Circle##name(const circle::Operator *cur_op, \
BaseRuntimeGraph *runtime_graph); \
\
- void execute_kernel_Circle##name(const circle::Operator *cur_op, \
- BaseRuntimeGraph *runtime_graph, bool is_inplace);
+ void execute_kernel_Circle##name(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph);
#if USE_GENERATED_LIST
#include "GeneratedKernelsToBuild.lst"