tested on clover and intel ocl-sdk
Signed-off-by: Jan Vesely <[email protected]>
---
generated_tests/gen_cl_math_builtins.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/generated_tests/gen_cl_math_builtins.py
b/generated_tests/gen_cl_math_builtins.py
index d86b53a..59b7f18 100644
--- a/generated_tests/gen_cl_math_builtins.py
+++ b/generated_tests/gen_cl_math_builtins.py
@@ -39,6 +39,7 @@ CLC_VERSION_MIN = {
'asinpi' : 10,
'atan' : 10,
'atan2' : 10,
+ 'atan2pi' : 10,
'atanh' : 10,
'atanpi': 10,
'cbrt' : 10,
@@ -153,6 +154,16 @@ tests = {
],
'tolerance' : 6
},
+ 'atan2pi' : {
+ 'arg_types' : [F, F, F],
+ 'function_type': 'ttt',
+ 'values' : [
+ [atan2(0.0, 0.0)/pi, atan2(1.2345, 10.0)/pi, atan2(35671470.0,
0.1)/pi], # Result
+ [0.0, 1.2345, 35671470.0 ], #
Arg0
+ [0.0, 10.0, 0.1 ] #
Arg1
+ ],
+ 'tolerance' : 6
+ },
'atanh' : {
'arg_types' : [F, F],
'function_type': 'ttt',
--
2.1.0
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit