From 4ca8f64c601137095cb1780f1b86bc305f4db0bc Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 2 Mar 2023 10:24:19 +0000 Subject: Add CONST INT48 support to conformance. Remove ERRORIF tests for CONST as they do not create valid negative tests. Signed-off-by: Jeremy Johnson Change-Id: Ia96b184f34010a452d2c4848b0653514352c751e --- verif/conformance/tosa_base_profile_ops_info.json | 4 ++++ 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, -- cgit v1.2.1