[Beignet] [PATCH] utest: decrease the accuracy of tanpi.
Yi Sun
yi.sun at intel.com
Thu Jun 19 19:09:58 PDT 2014
Since some issue in tanpi, decrease the accuracy by 100 times.
Signed-off-by: Yi Sun <yi.sun at intel.com>
diff --git a/utests/utest_math_gen.py b/utests/utest_math_gen.py
index f33d528..30a9b24 100755
--- a/utests/utest_math_gen.py
+++ b/utests/utest_math_gen.py
@@ -565,7 +565,7 @@ static float tanpi(float x){
return sinpi(x)/cospi(x);
}
'''
- tanpiUtests = func('tanpi','tanpi',[tanpi_input_type],tanpi_output_type,[tanpi_input_values],'4 * FLT_ULP',tanpi_cpu_func)
+ tanpiUtests = func('tanpi','tanpi',[tanpi_input_type],tanpi_output_type,[tanpi_input_values],'400 * FLT_ULP',tanpi_cpu_func)
##### gentype trunc(gentype)
trunc_input_values = base_input_values
--
1.8.5.3
More information about the Beignet
mailing list