Compare commits

...

2 Commits

2 changed files with 5 additions and 5 deletions

View File

@@ -80,8 +80,8 @@ impl HpuHw {
allocator: None,
};
let current_uuid = hw.ami.uuid();
if pdi.metadata.bitstream.uuid == current_uuid {
let current_uuid = hw.ami.uuid().to_lowercase();
if pdi.metadata.bitstream.uuid.to_lowercase() == current_uuid {
let uuid = pdi::V80Uuid::from_str(&pdi.metadata.bitstream.uuid)
.expect("Invalid UUID format in pdi");
tracing::info!("Current pdi -> [\n{uuid}]");
@@ -89,7 +89,7 @@ impl HpuHw {
} else {
Err(format!(
"UUID mismatch loaded {:?} expected {:?}",
current_uuid, pdi.metadata.bitstream.uuid
current_uuid, pdi.metadata.bitstream.uuid.to_lowercase()
)
.into())
}

View File

@@ -3297,11 +3297,11 @@ mod hpu {
);
define_hpu_bench_default_fn!(
iop_name: cmp_lt,
display_name: lower_than
display_name: less_than
);
define_hpu_bench_default_fn!(
iop_name: cmp_lte,
display_name: lower_or_equal
display_name: less_or_equal
);
criterion_group!(
default_hpu_cmp,