Skip to content

Commit

Permalink
DO NOT MERGE: remove device synchronization in drop for CudaVec to ch…
Browse files Browse the repository at this point in the history
…eck the effect on multi-gpu throughput benchmarks
  • Loading branch information
agnesLeroy committed Dec 16, 2024
1 parent 3a99ee9 commit aa16aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfhe/src/core_crypto/gpu/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ impl<T: Numeric> Drop for CudaVec<T> {
.zip(self.gpu_indexes.iter().copied())
{
// Synchronizes the device to be sure no stream is still using this pointer
synchronize_device(gpu_index.0);
//synchronize_device(gpu_index.0);
unsafe { cuda_drop(ptr, gpu_index.0) };
}
}
Expand Down

0 comments on commit aa16aaf

Please sign in to comment.