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

Q: Nested Pipelines / Limit of Number of Tokens in the Flight

timminn
Beginner
145 Views

Is it possible to use nested pipelines?To be more specific, I am trying to start a pipeline inside another pipeline at the last filter. And the last filter of the outter pipeline is serial

If so, does the number of tokens in the flightlimitation on the outter pipeline have any effecton the inner pipeline?

0 Kudos
1 Reply
Alexey_K_Intel3
Employee
145 Views

Nesting of pipelines is possible. The number of tokens setting is per pipeline instance set separately for each pipeline run. The inner pipeline would know nothing about the outer one, and it would use the number of tokens specified for its run.

Reply