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

Jan Vesely jan.vesely at rutgers.edu
Thu Aug 24 16:56:22 UTC 2017


On Thu, 2017-08-24 at 12:54 -0400, Jan Vesely wrote:
> From: Tom Stellard <thomas.stellard at amd.com>

Hi Tom,

this patch was never pushed. Do you remember what hw failed in this
case? Do you mind if I push it?

thanks,
Jan

> 
> ---
>  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 29b4e1a3f..d1e0e3c24 100644
> --- a/generated_tests/gen_cl_math_builtins.py
> +++ b/generated_tests/gen_cl_math_builtins.py
> @@ -261,8 +261,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
>      },
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170824/c6194869/attachment.sig>


More information about the Piglit mailing list