Commit 54f52c3f authored by Alexander Smorkalov's avatar Alexander Smorkalov

Build fix for non-TEGRA case.

parent 1fa37fe7
......@@ -476,9 +476,9 @@ static bool ocl_normalizeUsingWeightMap(InputArray _weight, InputOutputArray _ma
void normalizeUsingWeightMap(InputArray _weight, InputOutputArray _src)
{
#ifdef HAVE_TEGRA_OPTIMIZATION
Mat weight = _weight.getMat();
Mat src = _src.getMat();
Mat weight = _weight.getMat();
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::normalizeUsingWeightMap(weight, src))
return;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment