Skip to content
Snippets Groups Projects

Optimization for miranda

Merged rarbore2 requested to merge miranda_opt into main
2 files
+ 9
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -63,6 +63,10 @@ fn edge_detection_bench(c: &mut Criterion) {
let num_frames = 5;
let mut r = runner!(edge_detection);
let gaussian_filter_h = gaussian_filter_h.to();
let structure_h = structure_h.to();
let sx_h = sx_h.to();
let sy_h = sy_h.to();
let frames: Vec<_> = (0..num_frames).map(|_| load_frame(&mut video)).collect();
@@ -87,10 +91,10 @@ fn edge_detection_bench(c: &mut Criterion) {
sz as u64,
sb as u64,
input_h.to(),
gaussian_filter_h.to(),
structure_h.to(),
sx_h.to(),
sy_h.to(),
gaussian_filter_h,
structure_h,
sx_h,
sy_h,
theta,
)
.await
Loading