From 3e0df71b9bd820418094b7558f32fa7d8a1df772 Mon Sep 17 00:00:00 2001 From: Wang Huan Date: Wed, 10 Jan 2024 11:01:33 +0000 Subject: [PATCH] refine --- paddle/fluid/pir/dialect/kernel/ir/kernel_dialect.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/paddle/fluid/pir/dialect/kernel/ir/kernel_dialect.cc b/paddle/fluid/pir/dialect/kernel/ir/kernel_dialect.cc index 7b7ed4248acdd..e4a812d77f825 100644 --- a/paddle/fluid/pir/dialect/kernel/ir/kernel_dialect.cc +++ b/paddle/fluid/pir/dialect/kernel/ir/kernel_dialect.cc @@ -136,9 +136,7 @@ CustomKernelDialect::CustomKernelDialect(pir::IrContext *context) } void CustomKernelDialect::initialize() { - RegisterTypes(); RegisterOps(); - RegisterAttributes(); } void CustomKernelDialect::PrintType(pir::Type type, std::ostream &os) const {