Skip to content

Conversation

szkarpinski
Copy link
Collaborator

Category:

Bug fix (non-breaking change which fixes an issue)

Description:

This MR fixes the issues found in the recent coverity check

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

Tests:

  • Existing tests apply
  • 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

DALI-4242

Signed-off-by: Szymon Karpiński <[email protected]>
Signed-off-by: Szymon Karpiński <[email protected]>
@szkarpinski szkarpinski requested review from mzient and klecki May 6, 2025 13:55
@@ -161,7 +161,7 @@ class binning_resource : public binning_resource_base<Kind, nstatic_bins, Interf
binning_resource(const SplitPointCollection &split_points,
const ResourceCollection &resources,
Extra &&extra)
: base(split_points, resources), extra_args_(std::forward<ExtraArgs>(extra)) {
: base(split_points, resources), extra_args_(std::forward<Extra>(extra)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Weren't there more of those?

Copy link
Collaborator Author

@szkarpinski szkarpinski May 6, 2025

Choose a reason for hiding this comment

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

The other instances of use-after-move warnings turned out to be in the tests where we specifically test moving objects

@szkarpinski szkarpinski removed the request for review from klecki May 7, 2025 11:57
@szkarpinski
Copy link
Collaborator Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [28137489]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [28137489]: BUILD PASSED

@szkarpinski szkarpinski merged commit 07ee8a5 into NVIDIA:main May 9, 2025
7 checks passed
mdabek-nvidia pushed a commit to mdabek-nvidia/DALI that referenced this pull request Jun 7, 2025
* Add missing CUDA error check

* Replace ExtraArgs with Extra in std::forward

* Fix std::forward in disjoint_set

Signed-off-by: Szymon Karpiński <[email protected]>
Signed-off-by: Marek Dabek <[email protected]>
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.

4 participants