Skip to content
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

Fix coverity issues - July 2023 #4948

Merged
merged 3 commits into from
Jul 20, 2023
Merged

Fix coverity issues - July 2023 #4948

merged 3 commits into from
Jul 20, 2023

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Jul 18, 2023

Category: Bug fix

Description:

Adjust the check in DefaultHostResource creation, to skip the action for 0-threshold. Otherwise the condition was always true for unsigned values.
Fix uninitialized value in checkpointing test.

Additional information:

Affected modules and functionalities:

mm, checkpointing tests.

Key points relevant for the review:

Tests:

  • Existing tests apply
    The individual resources are tested, but I don't see case for the 0-threshold to be specifically tested.
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

Adjust the check in DefaultHostResource creation, to skip the action
for 0-threshold. Otherwise the condition was always true for unsigned
values.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9014708]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9014708]: BUILD FAILED

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9017007]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9017007]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9040508]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9040508]: BUILD PASSED

@klecki klecki merged commit dea33ea into NVIDIA:main Jul 20, 2023
4 checks passed
JanuszL pushed a commit to JanuszL/DALI that referenced this pull request Oct 13, 2023
Adjust the check in DefaultHostResource creation, to skip the action
for 0-threshold. Otherwise the condition was always true for unsigned
values.
 
Fix uninitialized value in checkpointing test.
 
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants