From ec3c68c8eacaad7e847ef677d952c1e8dcfad7cd Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 15 May 2014 11:58:03 +0400 Subject: [PATCH] fix --- modules/core/src/opencl/arithm.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/opencl/arithm.cl b/modules/core/src/opencl/arithm.cl index 1f15d76..def115c 100644 --- a/modules/core/src/opencl/arithm.cl +++ b/modules/core/src/opencl/arithm.cl @@ -474,7 +474,7 @@ __kernel void KF(__global const uchar * srcptr1, int srcstep1, int srcoffset1, int rows, int cols EXTRA_PARAMS ) { int x = get_global_id(0); - int y0 = get_global_id(1); + int y0 = get_global_id(1) * rowsPerWI; if (x < cols) { -- 2.7.4