1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

ocl: disable Laplacian5 and sepFilter2D_SinglePass kernels for AMD OpenCL

This commit is contained in:
Alexander Alekhin
2018-02-09 18:22:08 +03:00
parent 0c07836fba
commit fad3a6bf15
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -558,6 +558,7 @@ static bool ocl_Laplacian5(InputArray _src, OutputArray _dst,
) &&
(tileSizeX * tileSizeYmin <= wgs) &&
(LAPLACIAN_LOCAL_MEM(tileSizeX, tileSizeYmin, kernelX.cols, loc_mem_cn * 4) <= lmsz)
&& OCL_PERFORMANCE_CHECK(!dev.isAMD()) // TODO FIXIT 2018: Problem with AMDGPU on Linux (2482.3)
)
{
Size size = _src.size(), wholeSize;