-
Notifications
You must be signed in to change notification settings - Fork 15
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
base: develop
Are you sure you want to change the base?
Conversation
fiona-gladwin
commented
Jan 21, 2025
- 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
This reverts commit eecec65.
Add return statement
There was a problem hiding this 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.
There was a problem hiding this 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
_processing = false; | ||
_ring_buffer.release_all_blocked_calls(); | ||
release(); | ||
THROW("Exception thrown in the process routine: " + STR(e.what()) + STR("\n")); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
…in/rocAL into performance_test_fix