MCPcopy Create free account
hub / github.com/MegEngine/MegCC / KernelDialect

Method KernelDialect

compiler/lib/Dialect/Kernel/IR/KernelDialect.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using namespace mlir::Kernel;
8
9KernelDialect::KernelDialect(MLIRContext* context)
10 : Dialect(getDialectNamespace(), context, TypeID::get<KernelDialect>()) {
11 addOperations<
12#define GET_OP_LIST
13#include "compiler/Dialect/Kernel/IR/KernelDialect.cpp.inc"
14 >();
15}
16
17namespace mlir {
18namespace Kernel {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected