chore(bench): fix bench prefix pattern for hlapi ops

To follow the standard used by other HLAPI benchmarks and ease parsing for data_extractor.
This commit is contained in:
David Testé
2025-11-24 16:09:20 +01:00
committed by David Testé
parent 580e545b14
commit 6141ad2eee

View File

@@ -39,13 +39,15 @@ fn bench_fhe_type<FheType>(
for<'a> FheType: FheMin<&'a FheType, Output = FheType> + FheMax<&'a FheType, Output = FheType>,
{
let mut bench_group = c.benchmark_group(type_name);
let mut bench_prefix = "hlapi::ops".to_string();
let mut bench_prefix = "hlapi".to_string();
if cfg!(feature = "gpu") {
bench_prefix = format!("{}::cuda", bench_prefix);
} else if cfg!(feature = "hpu") {
bench_prefix = format!("{}::hpu", bench_prefix);
}
bench_prefix = format!("{}::ops", bench_prefix);
let mut rng = thread_rng();
let param = client_key.computation_parameters();