Skip to content

Commit 00fc281

Browse files
committed
chore(gpu): remove useless syncs
1 parent b93c23e commit 00fc281

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backends/tfhe-cuda-backend/cuda/src/integer/integer.cuh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ void generate_device_accumulator_bivariate(
536536
message_modulus, carry_modulus, f);
537537

538538
// copy host lut and lut_indexes_vec to device
539-
cuda_synchronize_stream(stream, gpu_index);
540539
cuda_memcpy_async_to_gpu(acc_bivariate, h_lut,
541540
(glwe_dimension + 1) * polynomial_size *
542541
sizeof(Torus),
@@ -602,7 +601,6 @@ void generate_device_accumulator(cudaStream_t stream, uint32_t gpu_index,
602601
generate_lookup_table<Torus>(h_lut, glwe_dimension, polynomial_size,
603602
message_modulus, carry_modulus, f);
604603

605-
cuda_synchronize_stream(stream, gpu_index);
606604
// copy host lut and lut_indexes_vec to device
607605
cuda_memcpy_async_to_gpu(
608606
acc, h_lut, (glwe_dimension + 1) * polynomial_size * sizeof(Torus),

0 commit comments

Comments
 (0)