aboutsummaryrefslogtreecommitdiff
path: root/verif
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-09-12 10:27:43 +0100
committerEric Kunze <eric.kunze@arm.com>2023-09-13 22:51:22 +0000
commit51779fdc58b76f416ba22272d822642af417c04c (patch)
treee4dfd32e0d091f88cd22a18009d9e6332ffd663a /verif
parentfb879821119c93109198a576e7b93e80b3dc0616 (diff)
downloadreference_model-51779fdc58b76f416ba22272d822642af417c04c.tar.gz
Restore coverage for conformance MATMUL
Increase size of tensor dimensions to meet compliance size needs. Also improve warning output about this size requirement. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I9dc2b8dab05a1bac0083cdca9d99845c287d3ce9
Diffstat (limited to 'verif')
-rw-r--r--verif/conformance/tosa_main_profile_ops_info.json2
-rw-r--r--verif/generator/tosa_arg_gen.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/verif/conformance/tosa_main_profile_ops_info.json b/verif/conformance/tosa_main_profile_ops_info.json
index 0d3df72..054b9d4 100644
--- a/verif/conformance/tosa_main_profile_ops_info.json
+++ b/verif/conformance/tosa_main_profile_ops_info.json
@@ -1444,7 +1444,7 @@
"--fp-values-range",
"-2.0,2.0",
"--tensor-dim-range",
- "1,19"
+ "10,19"
],
[
"--target-dtype",
diff --git a/verif/generator/tosa_arg_gen.py b/verif/generator/tosa_arg_gen.py
index 8d96090..de882ca 100644
--- a/verif/generator/tosa_arg_gen.py
+++ b/verif/generator/tosa_arg_gen.py
@@ -1137,7 +1137,7 @@ class TosaArgGen:
dot_products = kwargs["dot_products"]
if dot_products < testGen.TOSA_MI_DOT_PRODUCT_MIN:
print(
- f"Skipping dot product test as too few calculations {dot_products} < {testGen.TOSA_MI_DOT_PRODUCT_MIN}"
+ f"Skipping {opName} dot product test as too few calculations {dot_products} < {testGen.TOSA_MI_DOT_PRODUCT_MIN}"
)
continue
arg_dict["ks"] = kwargs["ks"]