1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Enable non-exact IPP optimizations if build-time algorithm hint allows it.

This commit is contained in:
Alexander Smorkalov
2026-07-03 16:00:13 +03:00
parent 24030ff3a2
commit 50beb24c6b
+5
View File
@@ -2586,7 +2586,12 @@ public:
IPPInitSingleton()
{
useIPP = true;
#if defined(OPENCV_ALGO_HINT_DEFAULT)
useIPP_NE = OPENCV_ALGO_HINT_DEFAULT == cv::ALGO_HINT_APPROX;
#else
useIPP_NE = false;
#endif
ippStatus = 0;
funcname = NULL;
filename = NULL;