Параллельное программирование с помощью вычислительного графа

Есть приложения, которые хорошо реализуются как системы передачи сообщений. Сообщениями в широком смысле может быть что угодно – блоки данных, управляющие «сигналы» и т.д. Логика же состоит из узлов, обрабатывающих сообщения, и связей между ними. Такая структура естественно представляется графом, по рёбрам которого «текут» сообщения, обрабатываемые в узлах. Наиболее устоявшееся название такой модели – вычислительный граф.

Using Intel® TBB 4.0 features to simplify Dining Philosophers

Intel recently released the 4.0 version of Intel® Threading Building Blocks (Intel® TBB), in which most of the flow::graph Community Preview features from 3.0 have been made standard features, and some new nodes have been added as Community Preview features. The time has come to revisit the Dining Philosophers program.

Using Buffering Nodes in Graphs in Intel® Threading Building Blocks

When using the new flow graph in Intel® Threading Building Blocks (Intel® TBB), we often encounter a situation where a sending node is ready to output a data item, but no receiving nodes are ready to receive that data item. Sending nodes have differing semantics in this regard, but they often just throw data away when no receiver accepts it. In some cases, we want to process every piece of data generated by a sender. This requires that the sender have as successor a node that always accepts data items.

Implementing a wave-front computation using the Intel® Threading Building Blocks flow graph

The Intel® Threading Building Blocks ( Intel® TBB )  flow graph is fully supported in Intel® TBB 4.0.  If you are unfamiliar with the flow graph, you can read an introduction here.

The Intel® Threading Building Blocks flow graph is now fully supported

Intel® Threading Building Blocks (Intel® TBB) 3.0 Update 5 introduced the graph API as a Community Preview feature.  After several months of evaluation by development teams across media, gaming, financial services, and technical computing segments the graph is now being introduced as a fully supported Feature in Intel® TBB 4.0.   In addition to some API changes and performance improvements, the graph also has a new name.  We now use the name flow graph to emphasize that this feature expresses the control-flow in an application.  The more generic name graph falsely implied

S’abonner à flow_graph