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

Use host sync allocation for nvImageCodec <= 0.2 #5391

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

jantonguirao
Copy link
Contributor

@jantonguirao jantonguirao commented Mar 22, 2024

Category:

Bug fix

Description:

nvImageCodec 0.2 doesn't sync with user stream before decoding, meaning that the buffer provided needs to be ready immediately before we call decode. This limitation shall be lifted on the following version.

Additional information:

Affected modules and functionalities:

experimental image decoders

Key points relevant for the review:

N/A

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

… test_imgcodec.py changes

This reverts commit b44a507.

Signed-off-by: Joaquin Anton <janton@nvidia.com>
@@ -99,94 +99,79 @@ def test_image_decoder():


@pipeline_def
def create_decoder_slice_pipeline(data_path, device, is_roi_dec):
def create_decoder_slice_pipeline(data_path, device):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is reverting the changes from b44a507

@jantonguirao
Copy link
Contributor Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13715481]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13715481]: BUILD FAILED

@mzient mzient self-assigned this Mar 22, 2024
Signed-off-by: Joaquin Anton <janton@nvidia.com>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13720135]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13720135]: BUILD PASSED

@jantonguirao jantonguirao merged commit cca2a7f into NVIDIA:main Mar 25, 2024
6 checks passed
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