Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Bug in tbb pipeline example?

Shao_Lo
Beginner
703 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
703 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