From 59b413c8a1bfb7f896b646ac77d92a731cd464a2 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 16 Apr 2018 13:29:14 +0300 Subject: [PATCH] imgproc(ipp): disable parallel GaussianBlur --- modules/core/include/opencv2/core/private.hpp | 2 ++ modules/imgproc/src/smooth.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/private.hpp b/modules/core/include/opencv2/core/private.hpp index a212ac1..26d7c0f 100644 --- a/modules/core/include/opencv2/core/private.hpp +++ b/modules/core/include/opencv2/core/private.hpp @@ -184,6 +184,8 @@ T* allocSingleton(size_t count) { return static_cast(fastMalloc(sizeof(T) * #define IPP_DISABLE_HAAR 1 // improper integration/results #define IPP_DISABLE_HOUGH 1 // improper integration/results +#define IPP_DISABLE_GAUSSIANBLUR_PARALLEL 1 // not supported (2017u2 / 2017u3) + // Temporary disabled named IPP region. Performance #define IPP_DISABLE_PERF_COPYMAKE 1 // performance variations #define IPP_DISABLE_PERF_LUT 1 // there are no performance benefits (PR #2653) diff --git a/modules/imgproc/src/smooth.cpp b/modules/imgproc/src/smooth.cpp index c3da902..78c85d7 100644 --- a/modules/imgproc/src/smooth.cpp +++ b/modules/imgproc/src/smooth.cpp @@ -4003,7 +4003,8 @@ static bool openvx_gaussianBlur(InputArray _src, OutputArray _dst, Size ksize, #endif #ifdef HAVE_IPP -#if IPP_VERSION_X100 == 201702 // IW 2017u2 has bug which doesn't allow use of partial inMem with tiling +// IW 2017u2 has bug which doesn't allow use of partial inMem with tiling +#if IPP_DISABLE_GAUSSIANBLUR_PARALLEL #define IPP_GAUSSIANBLUR_PARALLEL 0 #else #define IPP_GAUSSIANBLUR_PARALLEL 1 -- 2.7.4