Commit Graph

8 Commits

Author SHA1 Message Date
Beka Barbakadze
bc90576454 docs(cuda): add Rust doc for all concrete-cuda entry points 2023-01-25 09:30:26 +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
Agnes Leroy
f04a29aea4 chore(cuda): fix asserts regarding the base log value 2022-11-28 13:58:57 +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
Agnes Leroy
703c74401c chore(cuda): add asserts on base log, poly size and num samples values 2022-10-14 17:12:07 +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