mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix(cuda): fix lut_vector_indexes ptr in bit extract
This commit is contained in:
@@ -224,7 +224,7 @@ __host__ void host_extract_bits(
|
||||
// lut_vector_indexes is the last array in the bit_extract buffer
|
||||
Torus *lut_vector_indexes =
|
||||
(Torus *)lwe_array_out_pbs_buffer +
|
||||
(ptrdiff_t)((glwe_dimension * polynomial_size + 1) * sizeof(Torus));
|
||||
(ptrdiff_t)((glwe_dimension * polynomial_size + 1));
|
||||
|
||||
// shift lwe on padding bit and copy in new buffer
|
||||
check_cuda_error(
|
||||
|
||||
Reference in New Issue
Block a user