Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed Jan 4, 2025
1 parent 33843fc commit d50956a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ int main() {
ctx.appendDialectRegistry(registry_);
mlir::mhlo::registerAllMhloDialects(registry_);
mlir::stablehlo::registerAllDialects(registry_);
ctx.insertenzyme::EnzymeDialect();

auto module_op_ = xla::ConvertHloToStablehlo(ctx, &proto).value().release();

llvm::InitializeNativeTarget();
llvm::InitializeNativeTargetAsmPrinter();

registry_.insert<enzyme::EnzymeDialect>();
registry_.insert<mlir::stablehlo::check::CheckDialect>();
prepareRegistry(registry_);

Expand Down

0 comments on commit d50956a

Please sign in to comment.