5.x merge 4.x: vectorized normDiff#27068
Conversation
|
Please take a look on the Python test failure: |
|
I am afraid that we need to backport the fix 78a84e3 to 4.x. |
|
Also I noticed that 5.x changes the return type of norm inf from 5.x: opencv/modules/core/src/norm.simd.hpp Line 710 in 4919cda 4.x: opencv/modules/core/src/norm.simd.hpp Line 1358 in 14396b8 Corresponding kernel needs to be updated. |
|
It seems that different compiler handles normL1 of 32s differently. I cannot make it work. Even though I tried generating perf sanity data from the latest 5.x (w/o this patch), it is just different on different compiler. For example, clang and msvc's products get result |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Accuracy issue on 32s kernels: #27080. |
|
There are test failures on Mac: |
Fixed. |
5.x merge 4.x: merge changes of norm and norm_diff in hal rvv from 4.x #27261 Merge with opencv/opencv_extra#1251 No related changes in contrib #26991 from fengyuentau:4x/core/norm2hal_rvv #27045 from fengyuentau:4x/hal_rvv/normDiff Previous "Merge 4.x" on norm_diff vectorization: #27068
Merge with opencv/opencv_extra#1243
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.