From 9c96eefbaca6c85be79529bce7ff04fd7dfe3a0d Mon Sep 17 00:00:00 2001 From: evacha01 Date: Wed, 7 Feb 2024 11:21:55 +0000 Subject: FULL data gen mode for FP16 Signed-off-by: evacha01 Change-Id: I81bb322132daf25328a40342edc62d8e1db9edd6 --- verif/generator/tosa_test_gen.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'verif/generator/tosa_test_gen.py') diff --git a/verif/generator/tosa_test_gen.py b/verif/generator/tosa_test_gen.py index 415858c..a1f54c6 100644 --- a/verif/generator/tosa_test_gen.py +++ b/verif/generator/tosa_test_gen.py @@ -365,7 +365,7 @@ class TosaTestGen: if "ksb" in argsDict else int(argsDict["ks"]), } - elif argsDict["dg_type"] == gtu.DataGenType.OP_SPECIAL: + elif argsDict["dg_type"] == gtu.DataGenType.SPECIAL: mode = gtu.ComplianceMode.FP_SPECIAL elif "compliance" in op and "ulp" in op["compliance"]: mode = gtu.ComplianceMode.ULP @@ -3959,7 +3959,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, }, "bitwise_not": { @@ -3996,7 +3996,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, "compliance": {"ulp": 0.5}, }, @@ -4055,7 +4055,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, }, "floor": { @@ -4075,7 +4075,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, "compliance": {"ulp": 0.5}, }, @@ -4096,7 +4096,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, "compliance": {"ulp": 5}, }, @@ -4137,7 +4137,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, }, "reciprocal": { @@ -4157,7 +4157,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, "compliance": {"ulp": 1.0}, }, @@ -4178,7 +4178,7 @@ class TosaTestGen: TosaErrorValidator.evWrongOutputList, ), "data_gen": { - "fp": (gtu.DataGenType.PSEUDO_RANDOM,), + "fp": (gtu.DataGenType.FULL_RANGE,), }, "compliance": {"ulp": 2}, }, -- cgit v1.2.1