diff --git a/modules/ocl/src/imgproc.cpp b/modules/ocl/src/imgproc.cpp index e1346405c..f550ea529 100644 --- a/modules/ocl/src/imgproc.cpp +++ b/modules/ocl/src/imgproc.cpp @@ -948,7 +948,7 @@ namespace cv option += " -D BORDER_WRAP"; break; } - openCLExecuteKernel(src.clCxt, &imgproc_sobel2, "sobel3", gt2, lt2, args, -1, -1, option.c_str() ); + openCLExecuteKernel(src.clCxt, &imgproc_sobel3, "sobel3", gt2, lt2, args, -1, -1, option.c_str() ); } else { diff --git a/modules/ocl/src/opencl/imgproc_sobel2.cl b/modules/ocl/src/opencl/imgproc_sobel3.cl similarity index 100% rename from modules/ocl/src/opencl/imgproc_sobel2.cl rename to modules/ocl/src/opencl/imgproc_sobel3.cl