core(IPP): disable SSE4.2 code path in countNonZero()#18986
core(IPP): disable SSE4.2 code path in countNonZero()#18986opencv-pushbot merged 1 commit intoopencv:3.4from
Conversation
|
Fixes the previously failing test cases on my Win10, debug build, 64-bit target, no AVX2 cpu. For clarity, I want to raise a caution on what you wrote above "(MacOSX and Win32 platforms doesn't have AVX2 IPP optimizations)". It is my understanding that some OpenCV builds on Win32 platforms do support AVX2 IPP optimizations. However, 32-bit compile targets do not. When writing, I believe it is important to distinguish between the "Win32 API" and a Windows 32-bit target so that readers don't confuse the two. :-) |
|
Right, Win32 above means "Windows 32-bit" (not Win32 API) in terms of OpenCV CI builds (64-bit is "Win64"). Also this note is correct for current IPPICV package (subset of Intel IPP functions and optimizations) only. |
|
Is the cherry-pick into master/4.5 branch automated? I don't see this change yet there. |
|
It is not automated, but it is regular (weekly / bi-weekly): https://github.com/opencv/opencv/wiki/Branches You may want to pick this related patch too: #18991 |
resolves #17453
relates #17455
Reproduced even on Linux with
OPENCV_IPP=sse42(MacOSX and Win32 platforms doesn't have AVX2 IPP optimizations)
/cc @eplankin