Commit Graph

439 Commits

Author SHA1 Message Date
rudy
6c7cd97e73 fix(warning): remove a warning in test end_to_end_jit_fhelinalg 2022-03-24 11:13:36 +01:00
Quentin Bourgerie
c70ef1dcda fix(support): Use shared_ptr intead of raw ptr on JitLambdaSupport that allows the JitLambda to be used after that the compilation result is freed 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
6717c4f5ff chore(test): Missing lambda tests in test target 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
d23b978ed8 fix(test): Consume the error when we expected a failure 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
2373a67592 fix(python): Re-enable parallelize options after rebasing 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
0d376bc559 enhance(compiler): template result of typed vector from PublicResult 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
52aa18a848 fix(python): Actually use the given lambda support 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
1422b575d0 fix(compiler): Remove custom llvm pipeline as it's not used 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
cd2280ccae style(test): compile and run as template instead of macro 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
cc1e74d923 cleanup(compiler): Remove JitCompilerEngine 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
3fccc98e68 cleanup(compiler): Remove references to JitCompilerEngine to the main 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
1620259807 cleanup(capi/python-bindings): Remove reference to JitCompilerEngine 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
fc996fc698 fix(test): No more use the JitCompilationEngine 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
5b83b700d2 enhance(compiler): Expose a compilation options instead of just the funcname 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
1b984f5119 cleanup(python): Cleanup python bindings after refactoring of CompilerEngine 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
8867d313ee feat(python): Expose Jit and Library compiler support 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
f8968eb489 enhance(compiler/support): Refactor lambda support to have fatorized supoort for both lib and jit lambda 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
af4851a72b fix(test): Tmp disable test that seems to fail too often, let's investigate later 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
5984abe75a fix(test): Disable test that returns of a constant tensor because we don't known is a constant and we cannot free the memory 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
44b1e5bab2 fix(clientlib): Allow tensor with dimensions equals to 0 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
1ffd480d07 cleanup(compiler/jit): Removing dead code since the preparation of arguments has been factorized thanks the EncryptedArguments 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
e5cec23868 chore(test): Missing test-end-to-end-jit-fhe to test-end-to-end-jit target 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
0d1f041323 refactor(jit): Use PublicArguments instead of JitLambda::Argument to call the lambda (uniform calling to ServerLambda and JitLambda) 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
8a52cdaaf5 fix(client/server): Fix of clear scalar 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
82741868f1 refactor(client/server): Rename encrypted_scalars_and_sizes_t o TensorData as it can be used for any kind of tensor 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
5e8d2e7986 cleanup(clientlib): Remove ClientParameters serialization 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
cb5b89545c fix(server): Dirty free allocated memref by the mlir program 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
e72101f5c7 fix(compiler): Delete target machine when no more in use (prevent leak in compilation) 2022-03-24 11:00:36 +01:00
Quentin Bourgerie
73da7da81c enhance(client/server): Don't decrypt directly from istream use a intermediate container to represent public result 2022-03-24 11:00:36 +01:00
rudy
69037cd1fa fix(stresstests): update to use --funcname 2022-03-22 15:16:51 +01:00
Quentin Bourgerie
6aaaeb8d3f enhance(compiler): Update v0 parameters table, that enable 8 bits 2022-03-22 12:38:58 +01:00
Quentin Bourgerie
8961be33d2 fix(compiler): Remove the 7bits restriction on compiler side, it's the optimizer that known the truth 2022-03-22 12:38:58 +01:00
Quentin Bourgerie
fe13853286 refactor(tests): Move apply_lookup_table test to yaml file 2022-03-22 12:38:58 +01:00
Quentin Bourgerie
e959f2f4d8 refactor(compiler/tests): Use test fixtures instead of specialized programmatic test
+ fix checkedJit (segfault on compilation error because of getting value of a expected in error state)
2022-03-18 14:27:00 +01:00
youben11
bb289b6191 fix: link clientlib to concrete 2022-03-17 16:15:02 +01:00
youben11
f6bc836c92 fix: use relative paths in setup.py 2022-03-17 16:15:02 +01:00
youben11
18f0ad77e7 fix: use new dfr api 2022-03-17 16:15:02 +01:00
Antoniu Pop
337a9bb5c2 fix(dfr): add runtime termination call on compiler main exit. 2022-03-17 16:15:02 +01:00
Antoniu Pop
27318ff29a fix(runtime): disable main wrapping and provide _dfr_terminate new termination call for the runtime. 2022-03-17 16:15:02 +01:00
youben11
44ebd426f9 feat: setup init/termination of parallel execution in python 2022-03-17 16:15:02 +01:00
Antoniu Pop
2f31edef7f fix(runtime): add initialization guard to avoid double initialization/finalization of the runtime. 2022-03-17 16:15:02 +01:00
Antoniu Pop
7cfa0a1212 feat(dfr): add pre_main and post_main functions to be called when main wrapping is not feasible. 2022-03-17 16:15:02 +01:00
youben11
e43e7d9c17 fix: link runtime lib with dfruntime
there is no symbol referenced in the runtime lib that is in dfruntime,
but it is needed during execution when code gets generated using
dfruntime functions
2022-03-17 16:15:02 +01:00
youben11
5b37ec640c feat: support parallelization in python 2022-03-17 16:15:02 +01:00
Mayeul@Zama
14faa4c7df chore(CI): fix concrete_internal branch name 2022-03-15 18:14:35 +01:00
Mayeul@Zama
73bb1c03d8 enhance(compiler): fix warnings
remove unused signature, functions, variable
remove pessimizing-moves
add cast before comparison
2022-03-15 18:14:35 +01:00
Antoniu Pop
c440fc30f8 fix: CMake dependencies
define CONCRETELANG_PARALLEL_EXECUTION_ENABLED at toplevel and prevent RuntimeContext copy constructors from passing engines map.
2022-03-15 18:14:35 +01:00
Mayeul@Zama
ca8d4fb110 feat(compiler): use engine concrete C API
remove ConcreteToConcreteCAPI and ConcreteUnparametrize passes
2022-03-15 18:14:35 +01:00
Mayeul@Zama
cee07d2440 fix: rename LweSecretKeyParam.size dimension 2022-03-15 18:14:35 +01:00
Mayeul@Zama
0d7c3570cb style: format tests 2022-03-10 14:38:19 +01:00