Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Bug in tbb pipeline example?

Shao_Lo
Beginner
327 Views
The implementation of MyInputFilter uses a size_t next_buffer to cycle through the MyTransformFilter objects. If the MyTransformFilter operators do not complete in the proper order, won't MyInputFilter's operator overwrite data in the wrong MyBuffer?..or is there some serialization that I'm missing??
0 Kudos
1 Reply
Shao_Lo
Beginner
327 Views
I think I just answerd my own question. I think the serial output filter is what makes this example work.

If this filter is omitted, then the problem occurs.
0 Kudos
Reply