From cbd5e70e22944f444da8cb1bebf310eea9c13622 Mon Sep 17 00:00:00 2001 From: Russel Arbore <russel.jma@gmail.com> Date: Tue, 25 Feb 2025 17:46:04 -0600 Subject: [PATCH] whyyyyy --- juno_samples/rodinia/backprop/benches/backprop_bench.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/juno_samples/rodinia/backprop/benches/backprop_bench.rs b/juno_samples/rodinia/backprop/benches/backprop_bench.rs index 40cad98f..17bdf6a7 100644 --- a/juno_samples/rodinia/backprop/benches/backprop_bench.rs +++ b/juno_samples/rodinia/backprop/benches/backprop_bench.rs @@ -7,6 +7,11 @@ use hercules_rt::{runner, HerculesImmBox, HerculesImmBoxTo, HerculesMutBox, Herc juno_build::juno!("backprop"); +// We need this even though we don't use anything from the library because of +// Rust build scripts only linking static libraries into the library, and not +// into the benchmark binary. Ugh! +use juno_backprop::*; + fn backprop_bench(c: &mut Criterion) { let mut group = c.benchmark_group("backprop bench"); group.sample_size(10); -- GitLab