feat(python): compiler api with round_trip func

This commit is contained in:
youben11
2021-08-03 16:49:04 +01:00
committed by Quentin Bourgerie
parent 4e6579e019
commit 30d33ee45f
5 changed files with 51 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#include "DialectModules.h"
#include "CompilerAPIModule.h"
#include "mlir-c/Bindings/Python/Interop.h"
#include "mlir-c/Registration.h"
@@ -32,4 +33,7 @@ PYBIND11_MODULE(_zamalang, m) {
py::module hlfhe = m.def_submodule("_hlfhe", "HLFHE API");
zamalang::python::populateDialectHLFHESubmodule(hlfhe);
py::module api = m.def_submodule("_compiler", "Compiler API");
zamalang::python::populateCompilerAPISubmodule(api);
}