[Piglit] [PATCH 2/2] cl: Add failing case to exp test

Jan Vesely jan.vesely at rutgers.edu
Thu Apr 9 16:25:59 PDT 2015


On Tue, 2015-04-07 at 23:28 +0000, Tom Stellard wrote:
> ---
>  generated_tests/gen_cl_math_builtins.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/generated_tests/gen_cl_math_builtins.py b/generated_tests/gen_cl_math_builtins.py
> index 34b364d..cced8a9 100644
> --- a/generated_tests/gen_cl_math_builtins.py
> +++ b/generated_tests/gen_cl_math_builtins.py
> @@ -285,8 +285,8 @@ tests = {
>          'arg_types' : [F, F],
>          'function_type': 'ttt',
>          'values' : [
> -            [1.0, exp(0.95), exp(pi), exp(-pi), float("inf") ], # Result
> -            [0.0, 0.95, pi, -pi, float("inf")]  # Arg0
> +            [1.0, exp(0.95), exp(pi), exp(-pi), float("inf"), float.fromhex('0x1.66fe8ap+4')], # Result
> +            [0.0, 0.95, pi, -pi, float("inf"), float.fromhex('0x1.8e2cp+1')]  # Arg0
>          ],
>          'tolerance' : 3
>      },

it passes on r600 and intel

Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150409/e5f04359/attachment.sig>


More information about the Piglit mailing list