Commit Graph

491 Commits

Author SHA1 Message Date
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
75b99ee91b ci: test parallelization package after release
also disable parallel tests for non-parallel packages
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
c0a020b4ee ci: release python package with parallelization 2022-03-17 16:15:02 +01:00
youben11
1995f29c06 fix: release only when all tests pass 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
ba100596da chore(CI): update KeySetCache 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
Mayeul@Zama
a94b6fcabe style: check tests format in the CI 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
e45835378f fix: use github.sha in key of compilation cache
GITHUB_SHA seems to be empty for push events
2022-03-07 17:36:56 +01:00
youben11
67e90eb498 fix: correct cache keys 2022-03-07 15:46:41 +01:00
youben11
4e0d7f8b0b fix: change to concrete_internal in macos release 2022-03-07 10:16:37 +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
965fc997e8 ci: cache concretelib build output
caching concretelib build will reduce the overall testing time for MacOS
which currently takes ~15mn only to build concretelib
2022-03-04 10:00:46 +03:00
youben11
a5f6146b4f ci: enable macos tests on PRs (with ccache) 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
rudy
8b71e9d476 feat(Clientlib): separate client encryption and server computation
Resolve #200
2022-02-24 15:50:18 +01:00
youben11
4f19dce899 fix: adapt dialect tests after recent pipeline changes
new passes have affected the order of appearance of constants, so they
just needed to be put at the top in the expected IR
2022-02-24 09:44:26 +01:00
youben11
e82360a9fe feat: support lowering of convolution end to end 2022-02-24 09:44:26 +01:00
youben11
86379096df feat: lower FHELinalg.conv2d to linalg
This is currently lowering to our custom linalg conv operation, since
linalg ops doesn't support custom types. But as linalg will support
custom types in the future, we may want to lower to the native linalg op
instead
2022-02-24 09:44:26 +01:00