Skip to content

Test test_sincos_fp16 fails accuracy check #26362

@asmorkalov

Description

@asmorkalov

System Information

Platform: Mac Mx
Branch 5.x
Reference: #26358

Detailed description

2024-10-24T09:51:49.3740700Z [ RUN      ] hal_intrin128.float16x8_FP16
2024-10-24T09:51:49.4363000Z SIMD128: void opencv_test::hal::intrin128::opt_FP16::test_hal_intrin_float16()
2024-10-24T09:51:49.4364060Z test_loadstore_fp16_f32 ...
2024-10-24T09:51:49.4365710Z /Users/opencv-cn/GHA-OCV-2/_work/opencv/opencv/opencv/modules/core/test/test_intrin_utils.hpp:2159: Failure
2024-10-24T09:51:49.4368000Z Expected: (std::abs(resCos[j] - std_cos)) < (diff_thr * (std::abs(std_cos) + flt_min * 100)), actual: 1.14441e-05 vs 1.05023e-05
2024-10-24T09:51:49.4369380Z Google Test trace:
2024-10-24T09:51:49.4371000Z /Users/opencv-cn/GHA-OCV-2/_work/opencv/opencv/opencv/modules/core/test/test_intrin_utils.hpp:2146: Random test value: 344.000000
2024-10-24T09:51:49.4373490Z /Users/opencv-cn/GHA-OCV-2/_work/opencv/opencv/opencv/modules/core/test/test_intrin_utils.hpp:2159: Failure
2024-10-24T09:51:49.4375780Z Expected: (std::abs(resCos[j] - std_cos)) < (diff_thr * (std::abs(std_cos) + flt_min * 100)), actual: 2.28882e-05 vs 1.93254e-05
...
2024-10-24T09:51:49.7652680Z [  FAILED  ] hal_intrin128.float16x8_FP16 (118 ms)

Steps to reproduce

Enable test.

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions