Skip to content

core: vectorize normDiff with universal intrinsics#27042

Merged
asmorkalov merged 8 commits intoopencv:4.xfrom
fengyuentau:4x/core/normDiff_simd
Mar 12, 2025
Merged

core: vectorize normDiff with universal intrinsics#27042
asmorkalov merged 8 commits intoopencv:4.xfrom
fengyuentau:4x/core/normDiff_simd

Conversation

@fengyuentau
Copy link
Copy Markdown
Member

Merge with opencv/opencv_extra#1242.

Performance results on Desktop Intel i7-12700K, Apple M2, Jetson Orin and SpaceMIT K1:

perf-normDiff.zip

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov
Copy link
Copy Markdown
Contributor

@fengyuentau Is the code back ported from 5.x branch? If no, please create similar patch for 5.x. It's very hard to handle such changes in 4.x->5.x merge.

@fengyuentau
Copy link
Copy Markdown
Member Author

@fengyuentau Is the code back ported from 5.x branch? If no, please create similar patch for 5.x. It's very hard to handle such changes in 4.x->5.x merge.

No. I will prepare a merge for 5.x once this is merged.

@asmorkalov asmorkalov self-assigned this Mar 12, 2025
@asmorkalov asmorkalov merged commit eefa327 into opencv:4.x Mar 12, 2025
25 of 28 checks passed
@fengyuentau fengyuentau deleted the 4x/core/normDiff_simd branch March 13, 2025 02:07
@asmorkalov asmorkalov mentioned this pull request Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants