mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
3bfda58eb83c9d122fc11698cd80ede816887812
Make `HLFHE.EncryptedInteger` implement the `MemRefElementTypeInterface` trait to allow the type to be used for elements of memrefs. The invocation of the `add_mlir_dialect` macro in `include/zamalang/Dialect/HLFHE/IR/CMakeLists.txt` had to be broken into its parts in order to pass `-typedefs-dialect=HLFHE` to `mlir-tablegen`. This is required due to the inclusion of `mlir/IR/BuiltinTypes.td` in `include/zamalang/Dialect/HLFHE/IR/HLFHETypes.td`, resulting in definitions from multiple dialects. Add a small test actually using `HLFE.EncryptedInteger` in a `memref`.
Homomorphizer
The homomorphizer is a compiler that takes a high level computation model and produces a programs that evaluate the model in an homomorphic way.
Description
Languages
C++
34.3%
Python
23.1%
MLIR
22.9%
Rust
14.6%
C
2.2%
Other
2.8%