Commit Graph

13 Commits

Author SHA1 Message Date
Agnes Leroy
4da789abda feat(cuda): add a cbs+vp entry point
- fix bug in CBS as well
- update cuda benchmarks
2022-12-14 13:32:01 +01:00
Beka Barbakadze
0aedb1a4f4 feat(cuda): Add circuit bootstrap in the cuda backend
- Add FP-Keyswitch.
- Add entry points for cuda fk ksk in the public API.
- Add test for fp_ksk in cuda backend.
- Add fixture for bit extract

Co-authored-by: agnesLeroy <agnes.leroy@zama.ai>
2022-12-05 22:00:43 +01:00
Agnes Leroy
e10c2936d1 feat(cuda): support N=4096 and 8192 for the low latency bootstrap 2022-12-02 09:41:32 +01:00
Pedro Alves
68866766a4 feat(cuda): Adds a parameter in the CUDA host functions passing the gpu index that should be used. 2022-11-28 15:11:46 +01:00
Pedro Alves
9d25f9248d feat(cuda): Implements vertical packing's blind rotation and sample extraction on CUDA backend. Implements a private test for the CUDA vertical packing + blind rotation. 2022-11-21 09:30:26 +01:00
Quentin Bourgerie
b560ae6a72 fix(cuda): Remove extra ; in bootstrap header file that lead to warnings 2022-11-07 14:01:32 +01:00
Agnes Leroy
4445fcc7f1 chore(cuda): rename some variables to match concrete-core notations
- rename l_gadget and stop calling low lat PBS with N too large
- rename trlwe and trgsw
- rename lwe_mask_size into lwe_dimension
- rename lwe_in into lwe_array_in
- rename lwe_out into lwe_array_out
- rename decomp_level into level
- rename lwe_dimension_before/after into lwe_dimension_in/out
2022-10-19 10:26:08 +02:00
Agnes Leroy
c22aa3e4e9 chore(cuda): format sources and add check in ci 2022-10-19 10:26:08 +02:00
Agnes Leroy
acbad678ec chore(cuda): add assert on glwe_dimension 2022-10-14 17:12:07 +02:00
Beka Barbakadze
01ea1cf2f2 feat(cuda): add extract bits feature in concrete-cuda
- also, update decomposition algorithm for concrete-cuda keyswitch
2022-10-03 14:58:36 +02:00
Pedro Alves
26f26a2132 fix(cuda): Add a conditional macro check to remove CUDA-specific
definitions when not needed.
2022-09-27 09:43:01 +02:00
Pedro Alves
4c1c26e1fa feat(cuda): Implements the CMUX Tree on CUDA backend. 2022-09-22 09:10:50 +02:00
Agnes Leroy
64521f6747 feat(cuda): introduce cuda acceleration for the pbs and keyswitch
- a new crate concrete-cuda is added to the repository, containing some
Cuda implementations for the bootstrap and keyswitch and a Rust wrapping
to call them
- a new backend_cuda is added to concrete-core, with dedicated entities
whose memory is located on the GPU and engines that call the Cuda
accelerated functions
2022-06-27 09:10:20 +02:00