Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Denis_Bolshakov1
Beginner
100 Views

No linear pipeline

Hello TBB team and experts,

I am developing a stream application that will be able to process input stream data from few channels,

I know that pipeline allows to develop such applications by efficient way, but I could not find a solution to resolve my issue.

Could you tell me how can I organize pipeline that presented on attached image.

Pipeline
0 Kudos
5 Replies
Ilnar
Beginner
100 Views

Filter A -- Filter BorC -- Filter D
just entroduce one bool variable to choose B or C in the filter BorC
Denis_Bolshakov1
Beginner
100 Views

I will have up to 255 different filters on the second stage with different performance, and those filters should work simultaneously
Ilnar
Beginner
100 Views

ok, try the another way:
filter A -- filter B -- filter C -- filter D
and specifya filter for the second stage (B, C, ...), filters not equal to specified one will done immediately.
filters of the second stage could be added as parallel or serial_out_of_order; first and last ones are up to you,thethread_bound_filter could be used.
Nav
New Contributor I
100 Views

Sorry...posted a comment and tried to delete it but there was no delete option.
Alexey_K_Intel3
Employee
100 Views

Have a look at tbb::graph preview feature in the latest update.
Reply