Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
timminn
Total Points:
875
Status Points:
375
Brown Belt
April 8, 2008 2:41 PM PDT
Question about the Token Order in Pipeline.

Hello everyone~

Could anybody explain how the TOKEN ORDER is mainteined in pipeline?

Do they restrictedly pass each filter by the order they were generated?

What particular manner should we use to maintein the order??

For instance, refer to the pipeline example in official turtorial, textfilter, on page27/68.

The Buffer order is not explained, if a buffer, takes a significant long time to process in the middle transforming filter than any other buffer, and it reach the last output filter later than other buffer that generated after it from the input filter. In this case, will there be a protential error in output?

If such error never occurs, please explain why, thank you.

BTW, the tutorial does explain why it is safe without checking whether the buffer is in use or not[page 31], but the order issue has not been explained.

Alexey Kukanov (Intel)
Total Points:
13,226
Status Points:
13,226
Black Belt
April 8, 2008 5:30 PM PDT
Rate
 
#1

The order of tokens is set by the first serial filter encountered as the tokens pass through the pipeline. So if the very first filter is serial, then the token generation order is used. All subsequent serial filters process the tokens exactly in that order; and you should do nothing for that, except for properly classifying filters as serial or parallel.

Is this level of explanation enough, or you would like to see more details?

By the way it is said in the tutorial that

in the current implementation the is_serial parameter is ignored for the first stage, though this may change in later versions".
This is not true anymore; in the latest development updates the first stage will recognize the filter type like any other stage. The documentation will be soon updated.





Intel Software Network Forums Statistics

8293 users have contributed to 31244 threads and 99120 posts to date.
In the past 24 hours, we have 12 new thread(s) 13 new posts(s), and 23 new user(s).

In the past 3 days, the most popular thread for everyone has been huge pages on linux? The most posts were made to Pipeline buffer between stages? The post with the most views is Another example attached (Tr

Please welcome our newest member bwillems