youben11
01757fa6d5
fix: forward errors instead of creating new ones
...
LLVM errors should be handled/consumed. Creating a new one and leaving
the previous one alive will crash the compiler. Whenever we don't want a
crash (e.g. logging the error is enough), but still wanna continue the
execution, we can just consume it.
2021-10-12 11:50:15 +01:00
youben11
5a308ddc75
fix(python): add missing import
...
Also added a test to catch future similar failure. Mainly, we didn't
have tests that imported and used the HLFHE dialect from the python
bindings
2021-10-08 14:21:45 +01:00
youben11
450925b7bf
chore(python test): clean test case by adding ids
2021-10-07 14:38:50 +01:00
youben11
967fda07a0
feat(execution): run on both int and tensor args
2021-09-10 10:00:04 +01:00
youben11
746d991af6
refactor: ins forward decl w generic ty @pass-init
...
Insert forward declarations with generic types at pass initialization.
More docs for all the pass for lowering LUT
2021-09-09 20:35:28 +02:00
youben11
272a725e9a
feat(lower_LUT): add precision attribute to encode LUT at runtime
2021-09-09 20:35:28 +02:00
youben11
c4dd639ea7
tests(LUT): use relative error
2021-09-09 20:35:28 +02:00
youben11
855dabc91e
tests: apply_univ complete lowering and execution
2021-09-09 20:35:28 +02:00
youben11
f948db1228
feat(python): CompilerEngine to compile and run
2021-08-18 17:38:46 +02:00
Quentin Bourgerie
042f54afbf
fix(compiler/python): Update python test
2021-08-18 11:15:30 +02:00
Quentin Bourgerie
7d6738916b
fix(compiler/pyhton): Update test dot_eint_int
2021-08-17 16:53:32 +02:00
youben11
0aa9f93e20
tests(python): compiler bindings. round_trip func
2021-08-05 13:49:29 +02:00