performance issue of UMat in OpenCV 3.0.0-rc1 (Bug #4377)
Description
I found a case that UMat is very slower than Mat.
But, I do not know whether this is bug of UMat or limitation of UMat,
Detailed information is as follows.
https://gist.github.com/atinfinity/3235df48d833b9759f77
History
Updated by Alexander Alekhin over 9 years ago
In filter2D OpenCL kernel is compiled with exact filter kernel values (to reach maximum speed).
In your example you change filter kernel values on every call, so OpenCL compiler invoked many times.
So this behaviour is expected.
- Status changed from New to Cancelled