Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Sink node ?

nyue
Novice
582 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
555 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

0 Kudos
3 Replies
NoorjahanSk_Intel
Moderator
556 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.


0 Kudos
NoorjahanSk_Intel
Moderator
536 Views

Hi,


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


Thanks & Regards,

Noorjahan.



0 Kudos
NoorjahanSk_Intel
Moderator
506 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.


0 Kudos
Reply