This commit is contained in:
Ilya Lavrenov 2014-05-15 11:58:03 +04:00
parent bd5e4c6c49
commit ec3c68c8ea

View File

@ -474,7 +474,7 @@ __kernel void KF(__global const uchar * srcptr1, int srcstep1, int srcoffset1,
int rows, int cols EXTRA_PARAMS ) int rows, int cols EXTRA_PARAMS )
{ {
int x = get_global_id(0); int x = get_global_id(0);
int y0 = get_global_id(1); int y0 = get_global_id(1) * rowsPerWI;
if (x < cols) if (x < cols)
{ {