ONE - On-device Neural Engine
Loading...
Searching...
No Matches
KernelBuilder.cpp File Reference
#include "loader/KernelBuilder.h"
#include "loader/nodes/Builders.h"
#include <luci/IR/CircleOpcode.h>
#include <luci/IR/CircleNodeDecl.h>
#include <stdexcept>
#include <luci/IR/CircleNodes.lst>
#include "KernelsToBuild.lst"

Go to the source code of this file.

Data Structures

class  luci_interpreter::KernelBuilderRegistry
 Registry of kernel builders. More...
 

Namespaces

namespace  luci_interpreter
 

Macros

#define CIRCLE_NODE(OPCODE, CIRCLE_CLASS)   #CIRCLE_CLASS,
 
#define CIRCLE_VNODE(OPCODE, CIRCLE_CLASS)   #CIRCLE_CLASS,
 
#define CIRCLE_NODE(OPCODE, CLASS)   CLASS,
 
#define CIRCLE_VNODE(OPCODE, CLASS)   CLASS,
 
#define REGISTER_KERNEL(name)    register_kernel_builder(BuilderId::Circle##name, build_kernel_Circle##name);
 

Enumerations

enum class  luci_interpreter::BuilderId { luci_interpreter::Size }
 

Macro Definition Documentation

◆ CIRCLE_NODE [1/2]

#define CIRCLE_NODE (   OPCODE,
  CIRCLE_CLASS 
)    #CIRCLE_CLASS,

Definition at line 53 of file KernelBuilder.cpp.

◆ CIRCLE_NODE [2/2]

#define CIRCLE_NODE (   OPCODE,
  CLASS 
)    CLASS,

Definition at line 53 of file KernelBuilder.cpp.

◆ CIRCLE_VNODE [1/2]

#define CIRCLE_VNODE (   OPCODE,
  CIRCLE_CLASS 
)    #CIRCLE_CLASS,

Definition at line 54 of file KernelBuilder.cpp.

◆ CIRCLE_VNODE [2/2]

#define CIRCLE_VNODE (   OPCODE,
  CLASS 
)    CLASS,

Definition at line 54 of file KernelBuilder.cpp.

◆ REGISTER_KERNEL

#define REGISTER_KERNEL (   name)     register_kernel_builder(BuilderId::Circle##name, build_kernel_Circle##name);