performance issue of UMat in OpenCV 3.0.0-rc1 (Bug #4377)


Added by Yasuhiro Yoshimura almost 10 years ago. Updated over 9 years ago.


Status:Cancelled Start date:2015-06-03
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:t-api
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:

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

Also available in: Atom PDF