-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[try_put_and_wait] Part 1: Add implementation of try_put_and_wait feature for function_node #1398
[try_put_and_wait] Part 1: Add implementation of try_put_and_wait feature for function_node #1398
Conversation
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.
Haven't looked at tests yet.
Co-authored-by: Aleksei Fedotov <aleksei.fedotov@intel.com>
test_try_put_and_wait_queueing(tbb::flow::unlimited); | ||
|
||
test_try_put_and_wait_rejecting(tbb::flow::serial); | ||
// TODO: add integration test with buffering node before rejecting function_node |
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 suppose I would expect additional tests that have fan-out and fan-in to the function_node and perhaps more than one overlapping tracked message. But I suppose these would not be unique tests to function_node but be a broader test. Will there be such tests?
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.
Yes, current tests are just basic tests for waiting only for jobs required to execute wait_message and not waiting for any other tasks in the graph. Some tests for tricky graphs should be added for each node types in the future. Can it be considered as a future improvements for testing?
…production' into dev/kboyarinov/try_put_and_wait_function_node
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.
looks good to me
35358fd
into
dev/kboyarinov/try_put_and_wait_production
Description
Extend function_node (queueing, rejecting, lightweight) with the new try_put_and_wait API for waiting on single messages.
Add basic functionality such as message_metainfo and basic try_put_and_wait function.
Fixes # - issue number(s) if exists
Type of change
Choose one or multiple, leave empty if none of the other choices apply
Add a respective label(s) to PR if you have permissions
Tests
Documentation
Breaks backward compatibility
Notify the following users
List users with
@
to send notificationsOther information