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
Umut
a1e4329ca8
fix: use proper broadcasting condition during matmul to linalg generic
2022-03-08 16:04:32 +03:00
youben11
1dd8cfaf48
ci: remove tests from macos job on PRs
...
even when using the cache, the macos job on PR takes a lot of time, due
to the hardware limitations causing execution to take so much time. So
instead, we limit the macos job to the build to make sure it can
compile, and only run the tests for macos on push events
2022-03-08 12:13:25 +01:00
youben11
141497fd67
fix: use correct type
2022-03-04 10:00:46 +03:00
youben11
d2e3f2490b
fix: use stdlib free instead of malloc
...
malloc.h isn't portable to MacOS
https://stackoverflow.com/questions/12973311/difference-between-stdlib-h-and-malloc-h
2022-03-04 10:00:46 +03:00
youben11
e63df413c8
fix: remove move() due to Wpessimizing-move
...
causing issue on mac
2022-03-04 10:00:46 +03:00
youben11
845b48b293
refactor: remove variable length array usages
2022-03-04 10:00:46 +03:00
Quentin Bourgerie
925745f0e3
fix(thirdlib): Compilation error with clang and not CXX17
2022-03-04 10:00:46 +03:00
youben11
65e2e2f600
fix: correct reassociation in expand and collapse ops
2022-03-02 09:55:54 +01:00
Umut
d06e0c0a59
feat: enhance matmul operation to support 1-D and N-D inputs
2022-03-01 18:06:40 +03:00
Antoniu Pop
a4ae9b9541
fix(TestLib): fix error message typo.
2022-02-28 21:00:48 +00:00
Antoniu Pop
f3fca58efc
fix(runtime): add missing assert on context BSK.
2022-02-28 21:00:48 +00:00
Antoniu Pop
05059e8165
fix(ClientLib): correct the RuntimeContext in the argument list.
2022-02-28 21:00:48 +00:00
Antoniu Pop
f2bb077108
fix(TestLib): add missing test using a LUT/PBS.
2022-02-28 21:00:48 +00:00
Antoniu Pop
8ee456315e
fix(compiler): fix code generated for library header.
2022-02-28 21:00:48 +00:00
Antoniu Pop
ebb719cf60
fix(compiler): generate PIC code by default to allow generating shared libraries.
2022-02-28 21:00:48 +00:00