FULL data gen mode for FP16
Signed-off-by: evacha01 <evan.chandler@arm.com>
Change-Id: I81bb322132daf25328a40342edc62d8e1db9edd6
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 @@
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 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
},
"bitwise_not": {
@@ -3996,7 +3996,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
"compliance": {"ulp": 0.5},
},
@@ -4055,7 +4055,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
},
"floor": {
@@ -4075,7 +4075,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
"compliance": {"ulp": 0.5},
},
@@ -4096,7 +4096,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
"compliance": {"ulp": 5},
},
@@ -4137,7 +4137,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
},
"reciprocal": {
@@ -4157,7 +4157,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
"compliance": {"ulp": 1.0},
},
@@ -4178,7 +4178,7 @@
TosaErrorValidator.evWrongOutputList,
),
"data_gen": {
- "fp": (gtu.DataGenType.PSEUDO_RANDOM,),
+ "fp": (gtu.DataGenType.FULL_RANGE,),
},
"compliance": {"ulp": 2},
},