mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
fix
This commit is contained in:
parent
bd5e4c6c49
commit
ec3c68c8ea
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user