mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Merge pull request #29431 from asmorkalov:as/no_exact_ipp
Enable non-exact IPP optimizations if build-time algorithm hint allows it
This commit is contained in:
@@ -2586,7 +2586,12 @@ public:
|
|||||||
IPPInitSingleton()
|
IPPInitSingleton()
|
||||||
{
|
{
|
||||||
useIPP = true;
|
useIPP = true;
|
||||||
|
|
||||||
|
#if defined(OPENCV_ALGO_HINT_DEFAULT)
|
||||||
|
useIPP_NE = OPENCV_ALGO_HINT_DEFAULT == cv::ALGO_HINT_APPROX;
|
||||||
|
#else
|
||||||
useIPP_NE = false;
|
useIPP_NE = false;
|
||||||
|
#endif
|
||||||
ippStatus = 0;
|
ippStatus = 0;
|
||||||
funcname = NULL;
|
funcname = NULL;
|
||||||
filename = NULL;
|
filename = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user