rudy
018684fe2a
chore: activate Wall Werror
2022-11-04 10:44:46 +01:00
Quentin Bourgerie
d934553950
feat(compiler/gpu): Integrate gpu crypto optimization
2022-10-20 10:36:32 +01:00
rudy
1d1dfc6b2b
fix: display crypto-params global probability when it's not available
2022-10-14 09:00:35 +02:00
Quentin Bourgerie
cf9a36c197
feat(compiler/runtime): Support the pbs for crt encoding (enable apply_lookup_table up to 16bits)
2022-10-07 09:16:19 +02:00
Mayeul@Zama
819da92e3a
dep(optimizer): use options api from optimizer
2022-10-05 14:20:51 +02:00
rudy
08ed2fc49b
fix: when both sol.p_error and sol.global_p_error are near 0
2022-09-21 14:23:16 +02:00
Quentin Bourgerie
f4673e8276
feat(compiler): First draft or compilation feedback
2022-09-14 10:03:25 +02:00
rudy
48bf6e2696
feat(optimizer): report or warn using global p-error
2022-09-12 17:22:38 +02:00
Quentin Bourgerie
d647bc735f
fix: Now the maximum precision is 16bits
2022-08-16 08:40:14 +02:00
Quentin Bourgerie
5492ed01eb
feat: plug the compiler pipeline with the optimizer for 16 bits eint
2022-08-16 08:40:14 +02:00
rudy
f3933aeddc
feat(optimizer): connect to new entry point supporting woppbs
2022-08-16 08:40:14 +02:00
rudy
cc6c2576ec
feat(optimizer): create optimizer dag and use it
2022-08-11 10:10:27 +02:00
Quentin Bourgerie
511bcd99e7
Revert "feat(optimizer): create optimizer dag and use it"
...
This reverts commit 0b99f6d278 .
2022-07-27 18:35:47 +02:00
rudy
0b99f6d278
feat(optimizer): create optimizer dag and use it
2022-07-25 21:06:14 +02:00
youben11
1354759884
chore: rename refs to main branch
2022-06-09 09:19:06 +01:00
Mayeul@Zama
f5faf4c421
feat(optimizer): update concrete_optimizer dependency
...
fix breaking changes
2022-05-18 14:04:48 +02:00
rudy
6f02d1248d
feat(optimizer): update to use the new cpp brige
2022-05-10 15:36:40 +02:00
rudy
1b70a38754
feat(optimizer): expose the p_error parameter
...
simplify the handling of options by relying more on CompilationOptions
2022-05-06 13:06:08 +02:00
rudy
923a1b58e1
feat(optimizer): plug online parameter estimation
2022-04-29 15:11:42 +02:00
Quentin Bourgerie
6aaaeb8d3f
enhance(compiler): Update v0 parameters table, that enable 8 bits
2022-03-22 12:38:58 +01:00
youben11
2009ee1c94
chore: changing ref to repo after its renaming
...
also formatting and update the check_license script to match that
2022-01-06 12:40:10 +01:00
youben11
f1161f7f6d
chore: formatting
...
Quick fix due to ordering of includes, had to add #include
<mlir/Transforms/DialectConversion.h> to include/concretelang/Conversion/Utils/GenericOpTypeConversionPattern.h
2022-01-03 09:29:19 +01:00
youben11
e73291abdc
chore: rename compiler to concrete-compiler
...
zamalang => concretelang
zamacompiler => concretecompiler
2021-12-29 15:13:34 +01:00
youben11
971cb56182
chore: licensing
2021-12-29 15:13:34 +01:00
Mayeul@Zama
f193fd71a2
fix(compiler): fix mixed-up (g)lwe dimension/size
...
add dimension -> size conversion
rename k -> glweDimension, polynomialSize -> logPolynomialSize
remove (in/out)putLweSize from KeySwitchLweOp
remove GlweSizeType from LowLFHE
2021-12-07 12:11:56 +01:00
Andi Drebes
2ed1720234
bugfix(compiler): Do not apply offset of -1 to 2-norm in getV0Parameter
...
A value of 1 is perfectly valid for the 2-norm of the constant vector
of a dot operation. Hence, the log2 of that value of 0 is also
perfectly valid. However, the offset of -1 in `getV0Parameter` applied
to that value yields an offset into a static lookup table of -1, which
triggers a segmentation fault.
This patch removes the offset of -1 for the log2 value of the 2-norm
in `getV0Parameter`.
2021-09-28 11:35:58 +02:00
Andi Drebes
ddebedd1d6
refactor(compiler): Make function getV0Parameter return a pointer to a constant
...
The function `getV0Parameter()` returns a pointer to a static array,
which is not intended to be mutable. Reflect this in the return type
of the function.
2021-09-28 11:35:58 +02:00
Quentin Bourgerie
0f93fa1dcc
fix(compiler/parameters): new parameters for v0 (p=0.99993 for 1-6 and 0.95 for 7)
2021-09-27 13:37:11 +02:00
Quentin Bourgerie
7454c30485
fix(compiler/parameters): Update parameters
2021-09-27 13:37:11 +02:00
youben11
3893ad39bb
fix: divide and round to decode decrypted ct
...
Doing a right shift will ommit the bits that can be used to round to the
nearest integer
2021-09-09 20:35:28 +02:00
Quentin Bourgerie
8057ee7553
refactor(compiler): Prepare the MidLFHE parameters injection
2021-08-24 16:21:31 +02:00
Quentin Bourgerie
8796754513
fix(compiler/lowlfhe): Fix wrong shift value for EncodeIntOp lowering
...
That's work before because we enfoce 6 as global constraint while our runJit tests are on 7 bits
2021-08-16 18:54:56 +02:00
Quentin Bourgerie
d0877536ed
feat(compiler): First draft of client parameters generation, runtime support for encrypting and decrypting circuit gates, integration of fhe parameters for the v0 ( #65 , #66 , #56 )
2021-08-13 14:05:29 +02:00