From e47478ae4abbf043f2a9bfe0a4f471b2d1507c20 Mon Sep 17 00:00:00 2001 From: Agnes Leroy Date: Thu, 19 Dec 2024 10:43:56 +0100 Subject: [PATCH] chore(gpu): fix inconsistency in the use of AmortizedDegree --- .../cuda/src/pbs/programmable_bootstrap_classic.cu | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backends/tfhe-cuda-backend/cuda/src/pbs/programmable_bootstrap_classic.cu b/backends/tfhe-cuda-backend/cuda/src/pbs/programmable_bootstrap_classic.cu index bd5e1f33ec..17859dbdd8 100644 --- a/backends/tfhe-cuda-backend/cuda/src/pbs/programmable_bootstrap_classic.cu +++ b/backends/tfhe-cuda-backend/cuda/src/pbs/programmable_bootstrap_classic.cu @@ -136,7 +136,7 @@ void cuda_programmable_bootstrap_tbc_lwe_ciphertext_vector( num_many_lut, lut_stride); break; case 512: - host_programmable_bootstrap_tbc>( + host_programmable_bootstrap_tbc>( static_cast(stream), gpu_index, lwe_array_out, lwe_output_indexes, lut_vector, lut_vector_indexes, lwe_array_in, lwe_input_indexes, bootstrapping_key, buffer, glwe_dimension, @@ -144,7 +144,7 @@ void cuda_programmable_bootstrap_tbc_lwe_ciphertext_vector( num_many_lut, lut_stride); break; case 1024: - host_programmable_bootstrap_tbc>( + host_programmable_bootstrap_tbc>( static_cast(stream), gpu_index, lwe_array_out, lwe_output_indexes, lut_vector, lut_vector_indexes, lwe_array_in, lwe_input_indexes, bootstrapping_key, buffer, glwe_dimension, @@ -393,7 +393,7 @@ void cuda_programmable_bootstrap_cg_lwe_ciphertext_vector( num_many_lut, lut_stride); break; case 512: - host_programmable_bootstrap_cg>( + host_programmable_bootstrap_cg>( static_cast(stream), gpu_index, lwe_array_out, lwe_output_indexes, lut_vector, lut_vector_indexes, lwe_array_in, lwe_input_indexes, bootstrapping_key, buffer, glwe_dimension, @@ -401,7 +401,7 @@ void cuda_programmable_bootstrap_cg_lwe_ciphertext_vector( num_many_lut, lut_stride); break; case 1024: - host_programmable_bootstrap_cg>( + host_programmable_bootstrap_cg>( static_cast(stream), gpu_index, lwe_array_out, lwe_output_indexes, lut_vector, lut_vector_indexes, lwe_array_in, lwe_input_indexes, bootstrapping_key, buffer, glwe_dimension, @@ -468,7 +468,7 @@ void cuda_programmable_bootstrap_lwe_ciphertext_vector( num_many_lut, lut_stride); break; case 512: - host_programmable_bootstrap>( + host_programmable_bootstrap>( static_cast(stream), gpu_index, lwe_array_out, lwe_output_indexes, lut_vector, lut_vector_indexes, lwe_array_in, lwe_input_indexes, bootstrapping_key, buffer, glwe_dimension, @@ -476,7 +476,7 @@ void cuda_programmable_bootstrap_lwe_ciphertext_vector( num_many_lut, lut_stride); break; case 1024: - host_programmable_bootstrap>( + host_programmable_bootstrap>( static_cast(stream), gpu_index, lwe_array_out, lwe_output_indexes, lut_vector, lut_vector_indexes, lwe_array_in, lwe_input_indexes, bootstrapping_key, buffer, glwe_dimension,