mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 03:01:14 +00:00
Merge pull request #296 from bernhardmgruber/compare_sub_results
Allow partial comparison in `nvbench_compare.py`
This commit is contained in:
@@ -32,7 +32,7 @@ pass_count = 0
|
|||||||
|
|
||||||
def find_matching_bench(needle, haystack):
|
def find_matching_bench(needle, haystack):
|
||||||
for hay in haystack:
|
for hay in haystack:
|
||||||
if hay["name"] == needle["name"] and hay["axes"] == needle["axes"]:
|
if hay["name"] == needle["name"]:
|
||||||
return hay
|
return hay
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user