Commit dbb5993d authored by Elena Gvozdeva's avatar Elena Gvozdeva

added dft for all platforms

parent dc3c691c
...@@ -110,12 +110,8 @@ static bool sumTemplate(InputArray _src, UMat & result) ...@@ -110,12 +110,8 @@ static bool sumTemplate(InputArray _src, UMat & result)
static bool useNaive(Size size) static bool useNaive(Size size)
{ {
if (!ocl::Device::getDefault().isIntel())
return true;
int dft_size = 18; int dft_size = 18;
return size.height < dft_size && size.width < dft_size; return size.height < dft_size && size.width < dft_size;
} }
struct ConvolveBuf struct ConvolveBuf
......
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