ocl: fix Canny for Intel devices
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 9 Aug 2016 09:48:06 +0000 (12:48 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 9 Aug 2016 09:48:06 +0000 (12:48 +0300)
commitb8e08d5d3c033cc630e00f4a532d50c87b074026
tree7300578f30c3b4200df7fea4c65596f0efd0335c
parent5f30a0a076e57c412509becd1fb618170cbfa179
ocl: fix Canny for Intel devices

There is an issue with processing of abs(short) function for
negative argument.

Affected OpenCL devices:
- iGPU: Intel(R) HD Graphics 520 (OpenCL 2.0 )
- CPU: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (OpenCL 2.0 (Build 10094))
modules/imgproc/src/opencl/canny.cl