Using the TBB Task Scheduler
暂无分享,去创建一个
This chapter deals with the programming interfaces enabling direct access to all the features of the TBB task scheduler. A complete description of the TBB task scheduler API is presented. The higher level programming interfaces discussed in Chapter 11 are sufficient in most cases, but some specific features—like task synchronizations—are only accessible through the task scheduler API. Task synchronizations are implemented by establishing hierarchical relations among tasks to organize the way they are scheduled and executed, and several examples are given for these advanced features. Other advanced synchronization features made available by the task scheduler are also discussed, possible optimization strategies designed to improve the performance of the molecular dynamics application discussed in Chapter 13 are also explored.
[1] Moustafa Ghanem,et al. Structured parallel programming , 1993, Proceedings of Workshop on Programming Models for Massively Parallel Computers.
[2] James Reinders,et al. Intel® threading building blocks , 2008 .