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

rocAL C++ test suite fix #267

Open
wants to merge 30 commits into
base: develop
Choose a base branch
from

Conversation

fiona-gladwin
Copy link
Contributor

  • Fix issues with parsing arguments in C++ tests.
  • Fix CMakeLists for basic_tests_gpu to invoke the correct backend.
  • Fix issues with loop is set to true in rocAL - add changes for all readers.
  • Fix warnings and issues in audio tests, img aug app, dataloader

Copy link
Contributor

@spolifroni-amd spolifroni-amd left a comment

Choose a reason for hiding this comment

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

Nothing to do for docs.

Copy link
Contributor

@rrawther rrawther left a comment

Choose a reason for hiding this comment

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

Please address the review comments

rocAL/source/readers/image/caffe2_lmdb_record_reader.cpp Outdated Show resolved Hide resolved
_processing = false;
_ring_buffer.release_all_blocked_calls();
release();
THROW("Exception thrown in the process routine: " + STR(e.what()) + STR("\n"));
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of raising exception here, in the run function, we need to check if the processing was succes or not. Then return appropriate error code from there.

Copy link
Contributor Author

@fiona-gladwin fiona-gladwin Jan 29, 2025

Choose a reason for hiding this comment

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

The return type of the function is void, and ERROR code cannot be returned.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant in the run() function. If we throw exception, we need to make sure it is caught somewhere and gracefully exit with error code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants