diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-03-02 10:24:19 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-03-28 09:21:55 +0100 |
commit | 4ca8f64c601137095cb1780f1b86bc305f4db0bc (patch) | |
tree | 76b326c136b200ee3e3a1f8f7c917d36d1d9a5cf | |
parent | cf305dbb7f3e3be7c4e6c71174e1183eb489ec03 (diff) | |
download | reference_model-4ca8f64c601137095cb1780f1b86bc305f4db0bc.tar.gz |
Add CONST INT48 support to conformance.
Remove ERRORIF tests for CONST as they do not create valid
negative tests.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia96b184f34010a452d2c4848b0653514352c751e
-rw-r--r-- | verif/conformance/tosa_base_profile_ops_info.json | 4 | ||||
-rw-r--r-- | verif/generator/tosa_test_gen.py | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/verif/conformance/tosa_base_profile_ops_info.json b/verif/conformance/tosa_base_profile_ops_info.json index 187ebbd..24e01c5 100644 --- a/verif/conformance/tosa_base_profile_ops_info.json +++ b/verif/conformance/tosa_base_profile_ops_info.json @@ -692,6 +692,8 @@ "int32", "--target-dtype", "bool", + "--target-dtype", + "int48", "--target-rank", "1", "--target-rank", @@ -708,6 +710,8 @@ "int32", "--target-dtype", "bool", + "--target-dtype", + "int48", "--tensor-dim-range", "1,16", "--target-rank", diff --git a/verif/generator/tosa_test_gen.py b/verif/generator/tosa_test_gen.py index 7fef942..779f59e 100644 --- a/verif/generator/tosa_test_gen.py +++ b/verif/generator/tosa_test_gen.py @@ -3782,12 +3782,6 @@ class TosaTestGen: None, ), "types": TYPE_FIB + [DType.INT48], - "error_if_validators": ( - TosaErrorValidator.evWrongInputType, - TosaErrorValidator.evWrongOutputType, - TosaErrorValidator.evWrongInputList, - TosaErrorValidator.evWrongOutputList, - ), }, "identity": { "op": Op.IDENTITY, |