Skip to content

Commit

Permalink
remove mutex unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
dloghin committed Jun 6, 2024
1 parent 1cea9df commit 850e73b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plonky2/src/hash/merkle_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ fn fill_digests_buf_gpu<F: RichField, H: Hasher<F>>(
if *gpu_id_lock >= num_gpus as u64 {
*gpu_id_lock = 0;
}
Mutex::unlock(gpu_id_lock);

let now = Instant::now();
let mut gpu_leaves_buf: HostOrDeviceSlice<'_, F> =
Expand Down

0 comments on commit 850e73b

Please sign in to comment.