Skip to content

Fix coverity issues #30088

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

itikhono
Copy link
Contributor

Details:

Control flow / Program hangs issues

Tickets:

@itikhono itikhono requested a review from a team as a code owner April 11, 2025 11:46
@github-actions github-actions bot added the category: transformations OpenVINO Runtime library - Transformations label Apr 11, 2025
return std::numeric_limits<dst_type>::max();
} else if (val < std::numeric_limits<dst_type>::lowest()) {
return std::numeric_limits<dst_type>::lowest();
if (std::numeric_limits<src_type>::max() > std::numeric_limits<dst_type>::max()) {
Copy link
Contributor Author

@itikhono itikhono Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably it should be constexpr to resolve the coverity issue
but our bfloat16 impl doesn't have constexpr > and < operators overloaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: transformations OpenVINO Runtime library - Transformations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant