Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghuancoder committed Jan 10, 2024
1 parent be129f8 commit 3e0df71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions paddle/fluid/pir/dialect/kernel/ir/kernel_dialect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ CustomKernelDialect::CustomKernelDialect(pir::IrContext *context)
}

void CustomKernelDialect::initialize() {
RegisterTypes<paddle::dialect::AllocatedDenseTensorType>();
RegisterOps<dialect::CustomKernelOp>();
RegisterAttributes<paddle::dialect::KernelAttribute>();
}

void CustomKernelDialect::PrintType(pir::Type type, std::ostream &os) const {
Expand Down

0 comments on commit 3e0df71

Please sign in to comment.