-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Update IPP integration #27354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.x
Are you sure you want to change the base?
Update IPP integration #27354
Conversation
I observe strange crash on old host without AVX2 (Sandy Bridge):
Not sure if it's related to this particular patch. Looking forward. |
There is no bug in 4.11.0 release. Looking on HAL related changes. |
You could try to run on modern hosts using |
Hm.. I do not see the issue with and without mentioned env variable on my Ryzen. |
I tried Sandy Bridge host with current code and ICV IPP from 4.11.0. It works fine. The previous IPP ICV update brought the issue. Also I see stack corruption error time to time. I'll file a bug with all details to track details. |
@@ -100,7 +100,7 @@ int ipp_hal_norm(const uchar* src, size_t src_step, const uchar* mask, size_t ma | ||
0) : | ||
norm_type == cv::NORM_L2 || norm_type == cv::NORM_L2SQR ? | ||
( | ||
#if (!IPP_DISABLE_NORM_8U) | ||
#ifndef IPP_DISABLE_NORM_8U |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We prefer #if
instead of #ifdef
approach due to available compiler warnings.
When used macro is removed or renamed we will get warning for all related code for updating.
@eplankin Friendly reminder. |
Please merge together with opencv/opencv_3rdparty#96
Supported IPP version was updated to IPP 2022.1.0 for Linux and Windows. Bugs in norm() function which caused failure of sanity check in performance tests were fixed, IPP calls were enabled.
Previous update: #26463