Commit Graph

47 Commits

Author SHA1 Message Date
Arthur Meyre
2d3dc73ab8 chore(backend): fix nightly feature which was not forwarded to TFHE-rs
- this will allow to have AVX512 on x86 machines which have the hardware
feature available if concrete-cpu is built with a rust nightly toolchain
and the nightly feature enabled
2024-01-04 14:38:06 +01:00
Bourgerie Quentin
c339e2a10b chore(backend/frontend): Fixing formatting... 2024-01-02 19:23:38 +01:00
Bourgerie Quentin
afb9420dbb fix(backend/cpu): Fix the size of the expanded lut in woppbs case of poly size > lut size 2024-01-02 18:18:30 +01:00
dependabot[bot]
22dc7080ea chore(backend): deps, bump rustix in /backends/concrete-cpu/implementation
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.21 to 0.37.27.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.21...v0.37.27)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 12:08:13 +01:00
dependabot[bot]
c1bd672509 chore(backend): bump rustix in /backends/concrete-cpu/noise-model
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.21 to 0.37.27.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.21...v0.37.27)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 11:46:53 +01:00
Bourgerie Quentin
98274e012e test(backend-cpu): Remove useless zip tests 2023-12-22 15:51:02 +01:00
Bourgerie Quentin
c67fac4082 feat(compiler): Introduce input compression and use tfhe-rs as backend
- added --compress-input compiler option which forces the use of seeded
  bootstrap keys and keyswitch keys
- replaced the concrete-cpu FHE implementation with tfhe-rs

Co-authored-by: Nikita Frolov <nf@mkmks.org>
2023-12-22 15:51:02 +01:00
Samuel Tap
fb0c6d4d85 fix(compiler): simulation, noise in woppbs 2023-11-22 13:49:30 +01:00
Mayeul@Zama
b00e949a85 fix(backend-cpu): zig tests after zig update 2023-11-03 12:04:16 +01:00
Alexandre Péré
211dcd0ad7 fix(backend-cpu): fix rust lint error
See https://github.com/zama-ai/concrete/actions/runs/6690310177/job/18175401058#step:9:94
2023-11-03 12:04:16 +01:00
aquint-zama
8595aad47f docs(frontend): fix broken links
and ignore those that cant be automatically checked (sadly)
2023-10-27 15:40:21 +02:00
youben11
72940bcf93 fix(backend): fix boolean rounding in woppbs simulation 2023-10-02 17:07:48 +01:00
youben11
0caa659244 refactor(backend): use lwe scalar value (sim) instead of pointer 2023-09-28 09:29:48 +01:00
youben11
23576e1f59 fix(backend): use correct variance in blind_rotate 2023-09-28 09:29:48 +01:00
Samuel Tap
a70d2f0b83 feat(backend): add simulation of woppbs 2023-09-28 09:29:48 +01:00
Bourgerie Quentin
1b0106302b fix(optimizer/backend-cpu): Fix Cargo.lock to avoid flaky dependencies 2023-06-30 16:08:43 +02:00
Mayeul@Zama
6877f6c9e3 fix(backend-cpu): fix clippy lint 2023-06-27 11:14:40 +02:00
Mayeul@Zama
97b13e871c feat(optimizer): introduce fft precision 2023-06-15 10:48:07 +02:00
Mayeul@Zama
8897acab3d feat(optimizer): fix noise model tests compilation 2023-06-15 10:48:07 +02:00
youben11
566f119a06 feat(backend): expose random gaussian function 2023-06-05 16:48:52 +01:00
youben11
d7ecd66387 feat(backend): add concrete-cpu noise-model CAPI 2023-05-04 10:36:25 +01:00
Mayeul@Zama
3558ba5586 feat(backend-cpu): choose fastest aes implementation at runtime 2023-04-24 15:02:22 +02:00
Mayeul@Zama
315c1a08e1 fix(backend-cpu): fix Security framework linking in tests 2023-04-18 09:54:42 +02:00
Mayeul@Zama
348fe028cf feat(backend-cpu): use Apple secure enclave seeder on M1 2023-04-17 18:13:18 +02:00
Mayeul@Zama
84a3dd7a8d chore(backend-cpu): use zig build 2023-04-13 11:09:54 +02:00
Mayeul@Zama
53fa78cfbd chore(backend-cpu): simplify import in zig tests 2023-04-13 11:09:54 +02:00
Mayeul@Zama
e3c5eee6fe docs(backend-cpu): add readme 2023-04-11 14:55:57 +02:00
Quentin Bourgerie
8b4dc7be82 chore(concrete-cpu): Use concrete-fft nightly when nightly features is enable to use avx512 2023-03-28 08:50:33 +02:00
Quentin Bourgerie
8349d7824e chore(concrete-cpu): Move concrete-cpu implementation 2023-03-22 14:22:11 +01:00
Quentin Bourgerie
803c302e69 chore: Integrate concrete-cpu/noise-model to the mono repo 2023-03-21 15:08:43 +01:00
Quentin Bourgerie
b18148788d chore(concrete-cpu): Remove security curves from the concrete-cpu noise-model 2023-03-21 15:05:28 +01:00
Quentin Bourgerie
b7ba9c38e8 chore(): Move concrete-cpu noise model to the mono repo layout 2023-03-21 15:00:17 +01:00
Mayeul@Zama
0936cfccd2 chore(cpu): remove GgswLevelRow container 2023-03-21 14:37:08 +01:00
Mayeul@Zama
4ae3be5c4f chore(cpu): separate LevCt 2023-03-21 14:37:08 +01:00
Mayeul@Zama
8744e4f264 chore(cpu): remove GlweMask container 2023-03-21 14:37:08 +01:00
Mayeul@Zama
ec1e06b367 chore(cpu): introduce Polynomial container 2023-03-21 14:37:08 +01:00
Mayeul@Zama
78e2a6e1b3 chore(cpu): separate GlevCt 2023-03-21 14:37:08 +01:00
Mayeul@Zama
55c6dbd315 fix(cpu): fix avx512 2023-03-21 13:12:06 +01:00
Quentin Bourgerie
5b6eada770 fix(concrete-cpu/m1): Use absolute path for zig test 2023-03-21 13:11:07 +01:00
Mayeul@Zama
f393d255a2 feat(cpu): expose hardware aes for csprng 2023-03-21 10:51:51 +01:00
Mayeul@Zama
4c93b83807 chore(cpu): nightly fmt 2023-03-15 14:20:54 +01:00
Mayeul@Zama
2a3a0907d8 feat(concrete-cpu): m1 support 2023-03-14 16:13:37 +01:00
Pedro Alves
9462cdd924 feat(concrete_cpu): update with latest concrete-cpu main
- add concrete_cpu_decrypt_glwe_ciphertext_u64
- add a C entry point to encrypt values as GGSWs
- add a C entry point to init GLWE secret keys
2023-03-13 17:29:29 +01:00
Mayeul@Zama
e41b2bba63 chore(CI cpu): run zig tests 2023-03-09 09:29:04 +01:00
Mayeul@Zama
83799d4fba chore: update .gitignore files 2023-03-08 18:04:29 +01:00
Quentin Bourgerie
da05e3e6db chore: Integrate concrete-cpu CI 2023-03-08 10:46:29 +01:00
Quentin Bourgerie
06d3c316e7 chore: Move concrete-cpu backend to the concrete mono repository
The main contributors of concrete-cpu are

Co-authored-by: Mayeul@Zama <mayeul.debellabre@zama.ai>
Co-authored-by: sarah <sarah.elkazdadi@zama.ai>
2023-03-03 16:20:18 +01:00