ocl_calcOpticalFlowPyrLK optimizations#2566
Merged
opencv-pushbot merged 3 commits intoopencv:masterfrom Apr 8, 2014
krodyush:pullreq/140319-PyrLKOpticalFlow
Merged
ocl_calcOpticalFlowPyrLK optimizations#2566opencv-pushbot merged 3 commits intoopencv:masterfrom krodyush:pullreq/140319-PyrLKOpticalFlow
opencv-pushbot merged 3 commits intoopencv:masterfrom
krodyush:pullreq/140319-PyrLKOpticalFlow
Conversation
1. decrease branch number in CL code by replacing them into weights 2. decrease local mem pressure in reduce operation by using private variables 3. decrease image sampler pressure by caching data into local memory 4. remove unnecessary sync point on the HOST side.
…KOpticalFlow Conflicts: modules/video/src/opencl/pyrlk.cl
|
Andrey, Could you please look at the pull request? |
Contributor
|
@krodyush , I see slowdown on AMD GPUs - please make these changes Intel-only. |
Contributor
Author
|
@apavlenko, Is it possible to know on which AMD GPUs the slowdown is observed? |
Contributor
|
dGPU: HD7950 & HD7790, |
Contributor
Author
|
Thanks for the data. I've reproduced degradation. It looks like the reason was a merge error. I've made a fix. Could you check that degradation is gone? |
Contributor
|
👍 |
apavlenko
pushed a commit
that referenced
this pull request
Apr 8, 2014
Contributor
|
@krodyush, this PR introduced the following build errors on my iMac (with AMD card inside): |
Contributor
Author
|
Is it possible to submit the fix in the same pullrequest or I have to create new one? |
Contributor
|
this PR has already been merged, so you should create a new one |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
check_regression=PyrLK
test_modules=video
build_examples=OFF