Skip to content

tests: Fix cl test program@execute@builtin@builtin-float-degrees-1.0.generated...

Lurie97 requested to merge Lurie97/piglit:fix_degrees into main

tests: Fix cl test program@execute@builtin@builtin-float-degrees-1.0.generated issue about tolerance.

Initially, there is no tolerance for degrees operations set in gen_cl_common_builtins.py, which will cause the test to fail.

According to OpenCL related standards, the error value of the result calculated by the degrees function can be within the range of 2ulp.

Modified the tolerance of degrees function in the gen_cl_common_builtins.py file.

Signed-off-by: jiajia Qian jiajia.qian@nxp.com

Merge request reports

Loading