diff --git a/mopro-core/src/middleware/gpu_explorations/bin/generate_benchmark_report.rs b/mopro-core/src/middleware/gpu_explorations/bin/generate_benchmark_report.rs index 533f9e39..6dbe3d57 100644 --- a/mopro-core/src/middleware/gpu_explorations/bin/generate_benchmark_report.rs +++ b/mopro-core/src/middleware/gpu_explorations/bin/generate_benchmark_report.rs @@ -32,3 +32,8 @@ fn main() { .unwrap(); } } + +#[cfg(not(feature = "gpu-benchmarks"))] +fn main() { + println!("The gpu-benchmarks feature is not enabled."); +}