Commit Graph

443 Commits

Author SHA1 Message Date
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
youben11
6d2f853c07 feat: support Conv2d in MANP 2022-02-24 09:44:26 +01:00
youben11
3668b2d73a feat: add a Conv2d operation in FHELinalg 2022-02-24 09:44:26 +01:00
youben11
78596f899f feat: add generated linalg conv operation
This has been generated using linalg tools, then put in their
appropriate locations. This is intended as a workaround since linalg
doesn't support tensors of custom types yet. Any conversion using this
added operation should be able to use the default operation from linalg
when it starts supporting tensor of custom types.
2022-02-24 09:44:26 +01:00
Quentin Bourgerie
c4712151d8 chore(ci): Fix macos build 2022-02-17 16:51:27 +01:00
Quentin Bourgerie
2fb9c4fe0f chore(ci): Reuse the latest docker image since the bufferized API is now on latest image 2022-02-17 16:51:06 +01:00
Quentin Bourgerie
9df379d72b chore(ci): Refresh keyset cache 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
7f0be306f0 test(compiler): Temporary disable test
This test is a bit artificial, let see if we actually want to fix it
2022-02-17 15:53:23 +01:00
Quentin Bourgerie
61fefde35a fix(compiler): Compilation gcc7 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
a068a728d3 chore(compiler): Fix missing dependencies in the build system 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
11277e3366 chore(ci): Fix the concrete project reference 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
f69df2c68e chore(ci): Build from the bufferized-env-base docker image to have the new bufferized c api 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
e0bff49dad chore(ci): Change base image for Concrete C API to Concrete compiler C API 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
9627864d23 enhance(testlib): Fix the runtime testlib tools to handle the ciphertext bufferization and the new compiler concrete bufferized API 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
b1d6b7e653 test(compiler): TEMPORARY Disable tiling test since bufferization didn't yet support 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
0439ef47da style(test): Formatting 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
de66044374 cleanup(test): Remove some useless references 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
4e8a9d1077 enhance(runtime): Fix the runtime tools to handle the ciphertext bufferization and the new compiler concrete bufferized API 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
8a9cce64e3 enhance(compiler): Add custom finalize bufferize pass to handle memref.tensor_load op 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
626493dda7 enhance(compiler): Lower from Concrete to BConcrete and BConcrete to C API call 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
b3368027d0 refactor(compiler): Move FHELinalg.zero to FHE.zero_tensor and add zero and sero_tensor in TFHE and Concrete dialects 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
c8b45cc853 style(compiler/client): fix the naming LweSize to LweDimension for key size 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
3330b2f855 fix(compiler): Take care of program with no input when creating client parameters 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
1f3944047f feature(compiler): Introduce the BConcrete Dialect 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
b950a0010d chore(compiler/test): Move some test to end-to-end-jit-fhe 2022-02-17 15:53:23 +01:00
Umut
20a89b7b42 feat: implement concat operation 2022-02-15 16:52:07 +03:00
rudy
d41a7f0b68 fix(doc): doc generation segfaults
Doing the doc generation with more up to date version works.
2022-02-14 14:22:30 +01:00
Umut
a1818a3fd9 feat: implement advanced sum operation 2022-02-08 17:49:58 +03:00
Antoniu Pop
dddad849c7 enhance(compiler): add --parallelize-loops and --parallelize-dataflow compile flags in addition to --parallelize which enables both. 2022-02-03 10:59:12 +00:00
Antoniu Pop
35e6966f95 enhance(dfr/runtime): throttle the number of HPX worker threads when using OpenMP for loop parallelism within tasks. 2022-02-03 10:59:12 +00:00
Antoniu Pop
ec633d57f6 fix(compiler): predicate OpenMP loop parallelization of Linalg on the --parallelize flag. 2022-02-03 10:59:12 +00:00
Quentin Bourgerie
f52965e22f enhance(compiler): Lower linalg to parallel loops and instantiare parallel loops with openmp 2022-02-03 10:59:12 +00:00
Antoniu Pop
260768e9af enhance(dfr): use linker wrapping of main in addition to start/stop; enable DFR+OpenMP. 2022-02-03 10:59:12 +00:00
Umut
4203e86998 feat: implement basic sum operation 2022-02-01 12:18:56 +03:00
Umut
a7c63a5494 fix: get rid of documentation mistakes and styling inconsistencies in FHELinalgOps.td 2022-02-01 12:18:56 +03:00
youben11
afd5972a13 fix: use correct token and quote passwords 2022-01-25 17:52:51 +01:00
youben11
d54339c06d ci: add workflow to push python packages 2022-01-25 16:43:44 +01:00
youben11
6d3af7fcda chore: add installation targets in Makefile
MacOS require a way to find the runtime library when trying to build a
shared library at runtime, so we add a way to install it globally for
testing
2022-01-24 17:02:25 +00:00
youben11
71cccc6a89 fix(mac): add options for required libraries 2022-01-24 17:02:25 +00:00
youben11
ff73d09f65 ci: use AppleClang for MacOS build 2022-01-24 17:02:25 +00:00
youben11
faa0abea3e fix: use appropriate cmd for dynamic lib generation
macos and linux require a different cmd
2022-01-24 17:02:25 +00:00
youben11
b8cfaeb3f4 fix: ignore narrowing errors on Mac 2022-01-24 17:02:25 +00:00
youben11
2926ea6a5e fix: use appropriate type for optimizingTransformer func
the call does return an `std::function` and was being referenced using
an `llvm::function_ref`, which apparently with some optim on Mac was
referncing bad memory location
2022-01-24 17:02:25 +00:00
Umut
8198a79deb feat: introduce maximum bit width constant, use it where appropriate, export it in python bindings 2022-01-24 17:26:37 +03:00
youben11
05ebbb1029 ci: use gcc7.5 in linux release builds 2022-01-19 21:49:47 +00:00
Antoniu Pop
87994d000e ci(perf) : build gcc7.5 in separate image. 2022-01-19 21:49:47 +00:00
Antoniu Pop
25116ec979 ci/release: upgrade python packages release image to gcc-7.5.0 2022-01-19 21:49:47 +00:00
Mayeul@Zama
8847e82203 fix(doc): build mlir docs earlier 2022-01-17 16:26:06 +01:00
youben11
2d0e9b1647 fix(docs): update doc version based on tag 2022-01-17 13:24:33 +00:00