mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-07 22:04:10 -05:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user