-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add support of ov::Busy
and ov::Cancelled
in C API
#22034
Add support of ov::Busy
and ov::Cancelled
in C API
#22034
Conversation
@@ -341,6 +341,15 @@ TEST_P(ov_infer_request_test, infer_async_wait_for) { | |||
} | |||
} | |||
|
|||
TEST_P(ov_infer_request_test, infer_async_wait_for_return_busy) { |
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.
@riverlijunjie please, advice how to add test for ov::Cancelled
- default test model is too small, and inference finishes earlier than cancel may be called
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.
maybe we can create a model with custom operation which sleeps for 500ms during its evaluate
method
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.
Can we try to create multiple inferReqs to start_async() with single stream/thread and cancel them?
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.
Done
70a8061
to
ed07cfa
Compare
ed07cfa
to
2534600
Compare
No description provided.