Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Dhanwanth1803
Copy link
Contributor

@Dhanwanth1803 Dhanwanth1803 commented Jan 13, 2024

winofunc_AtXA_8x8_f32() needs function call in both AVX and in AVX2. Prior to this change the function was called under opt_AVX , now its called under opt_AVX2.

Fixes #24677

  • 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

@fengyuentau
Copy link
Member

Relates #24677

@fengyuentau
Copy link
Member

@zihaomu Could you take a look at this?

@Dhanwanth1803
Copy link
Contributor Author

@zihaomu Could you take a look at this?

Thank you @fengyuentau . I think as the transform functions are defined in the same .cpp they can be called in both AVX and AVX2.

Copy link
Member

@zihaomu zihaomu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! LGTM 👍

@fengyuentau fengyuentau added this to the 4.10.0 milestone Jan 15, 2024
@asmorkalov
Copy link
Contributor

Request for comments. @dkurt @asmorkalov

@asmorkalov asmorkalov changed the title Fixes #24677 Use AVX2 overload instread on AVX in AVX2 scope Jan 15, 2024
@Dhanwanth1803
Copy link
Contributor Author

Request for comments. @dkurt @asmorkalov

@asmorkalov Sir, can you look at this.

Copy link
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@asmorkalov asmorkalov merged commit 68dc02e into opencv:4.x Jan 16, 2024
@asmorkalov asmorkalov mentioned this pull request Jan 23, 2024
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.

In CV_TRY_AVX2 scope, AVX implementation was called

6 participants