Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • timminnApril 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)April 8, 2008 5:30 PM PDT
    Rate
     
    Re: Question about the Token Order in Pipeline.

    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.



Forum jump:  

Intel Software Network Forums Statistics

16,376 users have contributed to 46,363 threads and 164,030 posts to date.

In the past 24 hours, we have 11 new thread(s) 28 new posts(s), and 25 new user(s).

In the past 3 days, the most popular thread for everyone has been Program compiles in release but not debug The most posts were made to You need to show us the whole The post with the most views is try_pop in concurrent_queue

Please welcome our newest member fruitbrown


For more complete information about compiler optimizations, see our Optimization Notice.