Community
cancel
Showing results for 
Search instead for 
Did you mean: 
timminn
Beginner
41 Views

Question about Using Parallel Methods in a Serial Pipeline Filter

If a pipeline filterpasses trueas the serial parameterin its constructor, then the number of concurrent tokens to processed in the filter is limited to be one.

But does this serial flag has any limits if we are trying to use the parallel_for, parallel_while, or self-defined parallel task in the overrided operator() method??

0 Kudos
1 Reply
Alexey_K_Intel3
Employee
41 Views

No it does not; pipeline is agnostic to how tokens are processed by filters, and if parallelism is possible there, it makes perfect sense to use it and increase throughput of the serial filter.

Reply