From cfa53682ae06a4d5cffd83b5667f180ffb1fb33a Mon Sep 17 00:00:00 2001 From: Agnes Leroy Date: Mon, 15 Dec 2025 16:45:05 +0100 Subject: [PATCH] fix(gpu): add missing sync before free in oprf --- backends/tfhe-cuda-backend/cuda/include/integer/oprf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/tfhe-cuda-backend/cuda/include/integer/oprf.h b/backends/tfhe-cuda-backend/cuda/include/integer/oprf.h index 9b283f23f..ecd2eab9f 100644 --- a/backends/tfhe-cuda-backend/cuda/include/integer/oprf.h +++ b/backends/tfhe-cuda-backend/cuda/include/integer/oprf.h @@ -129,6 +129,7 @@ template struct int_grouped_oprf_memory { auto active_streams = streams.active_gpu_subset(num_blocks_to_process); luts->broadcast_lut(active_streams); + cuda_synchronize_stream(streams.stream(0), streams.gpu_index(0)); free(h_corrections); }