Build fix for non-TEGRA case.
This commit is contained in:
parent
1fa37fe733
commit
54f52c3f45
@ -476,9 +476,9 @@ static bool ocl_normalizeUsingWeightMap(InputArray _weight, InputOutputArray _ma
|
|||||||
|
|
||||||
void normalizeUsingWeightMap(InputArray _weight, InputOutputArray _src)
|
void normalizeUsingWeightMap(InputArray _weight, InputOutputArray _src)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
|
||||||
Mat weight = _weight.getMat();
|
|
||||||
Mat src = _src.getMat();
|
Mat src = _src.getMat();
|
||||||
|
Mat weight = _weight.getMat();
|
||||||
|
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||||
if(tegra::normalizeUsingWeightMap(weight, src))
|
if(tegra::normalizeUsingWeightMap(weight, src))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user