Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Sink node ?

nyue
Novice
203 Views

Reading the predefined node types here , I can may the concept of a source node to the input_node type.

 

For a sink node (only input, no output), which predefined node type is suitable for use ?

 

Cheers

 

0 Kudos
1 Solution
NoorjahanSk_Intel
Moderator
176 Views

Hi,


Thanks for reaching out to us.


You can use function_node() to create a sink node without creating furthur edges from function_node() to any other node.

Please refer to below link for more details:

https://spec.oneapi.io/versions/1.1-rev-1/elements/oneTBB/source/flow_graph/func_node_cls.html


Thanks & Regards,

Noorjahan.


View solution in original post

3 Replies
NoorjahanSk_Intel
Moderator
177 Views

Hi,


Thanks for reaching out to us.


You can use function_node() to create a sink node without creating furthur edges from function_node() to any other node.

Please refer to below link for more details:

https://spec.oneapi.io/versions/1.1-rev-1/elements/oneTBB/source/flow_graph/func_node_cls.html


Thanks & Regards,

Noorjahan.


NoorjahanSk_Intel
Moderator
157 Views

Hi,


We haven't heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Noorjahan.



NoorjahanSk_Intel
Moderator
127 Views

Hi,


Thanks for accepting our solution.

If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Noorjahan.


Reply