Commit Graph

36 Commits

Author SHA1 Message Date
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
Beka Barbakadze
b5839a3993 feat(concrete-cuda): Added classical pbs support for 2^14 polynomial size, added corresponding tests. 2023-03-20 13:10:31 +01:00
Agnes Leroy
791df21798 chore(gpu): avoid building concrete-cpu if the target already exists 2023-03-20 11:03:25 +01:00
Agnes Leroy
765f428f38 test(concrete_cuda): change cbs test to operate on vectors of inputs 2023-03-20 09:45:09 +01:00
Agnes Leroy
dff6532f2f chore(concrete_cuda): update cmake minimum version required and check cmake files formatting 2023-03-20 09:44:44 +01:00
Mayeul@Zama
1ed1f4321c fix(CI): linelint 2023-03-16 17:41:22 +01:00
Mayeul@Zama
45f5267f3d fix(CI): add newlines in end of files 2023-03-16 17:35:34 +01:00
Beka Barbakadze
9b4faaa66e feat(concrete-cuda): unroll while loop for cuda fft and ifft 2023-03-16 17:53:43 +04:00
Agnes Leroy
fbba02472f test(concrete_cuda): enhance the keyswitch test
It now tests execution on a vector of inputs. The noise is reduced so
the test is not as flaky as before.
2023-03-16 14:33:19 +01:00
Agnes Leroy
e0c52515bf fix(concrete_cuda): make sure r > 0 in the wop PBS
Sometimes the optimizer provides inconsistent parameter sets for the wop
PBS depending on how many inputs & bits to extract we're going to need
for a certain precision. This results in r < 0 and until now the
corresponding error in concrete-cuda was very hard to understand. This
commit fixes this behavior.

Also, when introducing the support for k > 1 we forgot to update the
checks on the low lat PBS. This commit also fixes them.
2023-03-16 14:00:28 +01:00
Agnes Leroy
6efe5f3a3b fix(concrete_cuda): fix cleartext mult and enhance linalg tests 2023-03-16 14:00:06 +01:00
Agnes Leroy
629e22aaac chore(concrete_cuda): fix tests, reduce test time
- Update concrete-cuda with latest commits in concrete-core
- Add C++ tests based on google test
- Run the tests in the CI with Cuda 11.8 and Cuda 11.1
- Test for many PBS/KS parameters
- Repetitions & samples are set for each parameter set in the PBS test
2023-03-16 09:30:27 +01:00
Agnes Leroy
4d82d177ab fix(concrete_cuda): add latest fixes on the tests by Pedro 2023-03-16 09:30:27 +01:00
Agnes Leroy
9d9d32da84 test(concrete_cuda): test more PBS parameters 2023-03-16 09:30:27 +01:00
Agnes Leroy
39800f2d8a test(concrete_cuda): add C++ tests to concrete-cuda 2023-03-16 09:30:27 +01:00
Agnes Leroy
7d7780bd23 fix(concrete_cuda): fix multi gpu behavior 2023-03-16 09:30:27 +01:00
Pedro Alves
5cb4e5ff4e chore(concrete_cuda): Add checks to validate inputs passed to the scratch functions 2023-03-16 09:30:27 +01:00
Mayeul@Zama
4c93b83807 chore(cpu): nightly fmt 2023-03-15 14:20:54 +01:00
Mayeul@Zama
570ad78442 cleanup: remove concrete-core references 2023-03-15 10:55:13 +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
Agnes Leroy
b4b09ec0ed chore(ci): fix concrete-cuda and main workflows
Also refactor clang-format script for concrete-cuda
2023-03-13 15:34:27 +01:00
Agnes Leroy
dc7754348d concrete-cuda(ci): first setup for the concrete-cuda ci 2023-03-13 11:31:10 +01:00
Quentin Bourgerie
d5d7962e07 chore: Integrate concrete-cuda in the mono-repo 2023-03-10 13:29:37 +01:00
Quentin Bourgerie
af824bf8a2 chore: Move concrete-cuda to the new mono-repo layout 2023-03-10 11:13: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