Merge pull request #26806 from shyama7004:fix-typo

* fix a small typo

* removal of unused variable
This commit is contained in:
Skreg 2025-01-20 19:44:27 +05:30 committed by GitHub
parent a2a3f5e86c
commit fe9405e8c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -592,7 +592,6 @@ static bool ocl_filter2D( InputArray _src, OutputArray _dst, int ddepth,
// For smaller filter kernels, there is a special kernel that is more
// efficient than the general one.
UMat kernalDataUMat;
if (device.isIntel() && (device.type() & ocl::Device::TYPE_GPU) &&
((ksize.width < 5 && ksize.height < 5) ||
(ksize.width == 5 && ksize.height == 5 && cn == 1)))