tbb

Task-Based Programming

When striving for performance, programming in terms of threads can be a poor way to do multithreaded programming. It is much better to formulate your program in terms of logical tasks, not threads, for several reasons.

  • Matching parallelism to available resources

Wavefront

Problem

Perform computations on items in a data set, where the computation on an item uses results from computations on predecessor items.

Context

The dependences between computations form an acyclic graph.

Assine o tbb