fix
authorIlya Lavrenov <ilya.lavrenov@itseez.com>
Thu, 15 May 2014 07:58:03 +0000 (11:58 +0400)
committerIlya Lavrenov <ilya.lavrenov@itseez.com>
Mon, 26 May 2014 09:19:07 +0000 (12:19 +0300)
modules/core/src/opencl/arithm.cl

index 1f15d76..def115c 100644 (file)
@@ -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)
     {