-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[imgcodec] Fix normalization when running GPU color space conversion #4285
Conversation
!build |
CI MESSAGE: [6022405]: BUILD STARTED |
CI MESSAGE: [6022405]: BUILD FAILED |
!build |
CI MESSAGE: [6023608]: BUILD STARTED |
CI MESSAGE: [6023608]: BUILD FAILED |
CI MESSAGE: [6023608]: BUILD PASSED |
!build |
CI MESSAGE: [6043674]: BUILD STARTED |
CI MESSAGE: [6043674]: BUILD PASSED |
Signed-off-by: Michał Staniewski <m.staniewzki@gmail.com>
Signed-off-by: Michał Staniewski <m.staniewzki@gmail.com>
Signed-off-by: Michał Staniewski <m.staniewzki@gmail.com>
2d88f95
to
8136999
Compare
!build |
CI MESSAGE: [6055426]: BUILD STARTED |
multiplier *= ConvertNorm<float>(static_cast<Input>(1)) / | ||
ConvertNorm<float>(static_cast<Output>(1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
multiplier *= ConvertNorm<float>(static_cast<Input>(1)) / | |
ConvertNorm<float>(static_cast<Output>(1)); | |
multiplier *= ConvertNorm<double>(static_cast<Input>(1)) / | |
ConvertNorm<double>(static_cast<Output>(1)); |
This can be done in a follow-up..
CI MESSAGE: [6055426]: BUILD PASSED |
Signed-off-by: Michał Staniewski m.staniewzki@gmail.com
Category:
Bug fix (non-breaking change which fixes an issue)
Description:
Currently, when running color space conversion in the GPU Convert, no normalization happens (I thought that the color space conversion kernel handles it...). This PR fixes the issue.
Additional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A