Skip to content

Commit

Permalink
chore(gpu-benchmarks): correct minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
moven0831 committed Jun 7, 2024
1 parent bf0ae37 commit 5652d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mopro-core/src/middleware/gpu_explorations/halo2curve_msm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ where
let instance_avg_duration = instance_total_duration / iterations;

println!(
"Average time to execute MSM with {} points and scalars in {} iterations is: {:?}",
"Average time to execute MSM with {} points and {} scalars in {} iterations is: {:?}",
points.len(),
scalars.len(),
iterations,
instance_avg_duration,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Iterator for FileInputIterator {
Err(_) => None,
}?;

let scalars = Vec::<Scalar>::deserialize_compressed(&self.scalars_file);
let scalars = Vec::<Scalar>::deserialize_compressed_unchecked(&self.scalars_file);
let scalars = match scalars {
Ok(x) => Some(x),
Err(_) => None,
Expand Down

0 comments on commit 5652d53

Please sign in to comment.