diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2015-01-26 14:37:44 -0500 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2015-02-06 11:32:18 -0500 |
commit | ec1654c2b96e91c797dbbcea7bc7e37f2e5ff0db (patch) | |
tree | 4a9434391c29336c89220ad2661f6dca3859e3c0 | |
parent | 9c8b3290bb34da12571fc201db75c0b13b276834 (diff) |
cl: Fix tolerance for division in scalar arithmetic test
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
-rw-r--r-- | tests/cl/program/execute/scalar-arithmetic-float.cl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cl/program/execute/scalar-arithmetic-float.cl b/tests/cl/program/execute/scalar-arithmetic-float.cl index 33a44d4c5..84c397030 100644 --- a/tests/cl/program/execute/scalar-arithmetic-float.cl +++ b/tests/cl/program/execute/scalar-arithmetic-float.cl @@ -178,42 +178,42 @@ name: pos div pos kernel_name: div arg_in: 1 float 8.5 arg_in: 2 float 4.25 -arg_out: 0 buffer float[1] 2 +arg_out: 0 buffer float[1] 2 tolerance 2 [test] name: pos div neg kernel_name: div arg_in: 1 float 11.25 arg_in: 2 float -3 -arg_out: 0 buffer float[1] -3.75 +arg_out: 0 buffer float[1] -3.75 tolerance 2 [test] name: neg div pos kernel_name: div arg_in: 1 float -21 arg_in: 2 float 5.25 -arg_out: 0 buffer float[1] -4 +arg_out: 0 buffer float[1] -4 tolerance 2 [test] name: neg div neg kernel_name: div arg_in: 1 float -21.25 arg_in: 2 float -5 -arg_out: 0 buffer float[1] 4.25 +arg_out: 0 buffer float[1] 4.25 tolerance 2 [test] name: 0 div pos kernel_name: div arg_in: 1 float 0 arg_in: 2 float 3.7 -arg_out: 0 buffer float[1] 0 +arg_out: 0 buffer float[1] 0 tolerance 2 [test] name: 0 div neg kernel_name: div arg_in: 1 float 0 arg_in: 2 float -3.7 -arg_out: 0 buffer float[1] -0 +arg_out: 0 buffer float[1] -0 tolerance 2 [test] name: num div 0 @@ -234,7 +234,7 @@ name: 0 div inf kernel_name: div arg_in: 1 float 0 arg_in: 2 float inf -arg_out: 0 buffer float[1] 0 +arg_out: 0 buffer float[1] 0 tolerance 2 [test] name: inf div 0 |