ONE - On-device Neural Engine
Loading...
Searching...
No Matches
KernelBuilder.h File Reference
#include "core/RuntimeModule.h"
#include "luci_interpreter/core/reader/CircleMicroReader.h"
#include "Builders.h"
#include <memory>
#include <unordered_map>
#include "KernelsToBuild.lst"

Go to the source code of this file.

Data Structures

class  luci_interpreter::KernelConfigureRegistry
 
class  luci_interpreter::KernelExecuteRegistry
 

Namespaces

namespace  luci_interpreter
 

Macros

#define REGISTER_KERNEL(builtin_operator, name)   BuiltinOperator_##builtin_operator,
 
#define REGISTER_KERNEL(builtin_operator, name)
 
#define REGISTER_KERNEL(builtin_operator, name)
 
#define REGISTER_KERNEL(builtin_operator, name)
 

Enumerations

enum class  luci_interpreter::BuilderID { luci_interpreter::Size }
 

Functions

constexpr BuilderID luci_interpreter::get_builder_id (circle::BuiltinOperator opcode)
 

Variables

constexpr KernelConfigureRegistry luci_interpreter::kernel_configure
 
constexpr KernelExecuteRegistry luci_interpreter::kernel_executor
 

Macro Definition Documentation

◆ REGISTER_KERNEL [1/4]

#define REGISTER_KERNEL (   builtin_operator,
  name 
)    BuiltinOperator_##builtin_operator,

Definition at line 29 of file KernelBuilder.h.

◆ REGISTER_KERNEL [2/4]

#define REGISTER_KERNEL (   builtin_operator,
  name 
)
Value:
case circle::BuiltinOperator_##builtin_operator: \
return BuilderID::BuiltinOperator_##builtin_operator;

Definition at line 29 of file KernelBuilder.h.

◆ REGISTER_KERNEL [3/4]

#define REGISTER_KERNEL (   builtin_operator,
  name 
)
Value:
register_kernel_configure(BuilderID::BuiltinOperator_##builtin_operator, \
configure_kernel_Circle##name);

Definition at line 29 of file KernelBuilder.h.

◆ REGISTER_KERNEL [4/4]

#define REGISTER_KERNEL (   builtin_operator,
  name 
)
Value:
register_kernel_execute(BuilderID::BuiltinOperator_##builtin_operator, \
execute_kernel_Circle##name);

Definition at line 29 of file KernelBuilder.h.