Changes

Jump to: navigation, search

J&J

440 bytes added, 18:50, 11 December 2016
Introduction to Intel Threading Building Blocks
== '''Introduction to Intel Threading Building Blocks''' ==
 == '''Intel Threading Blocks''' == ---- ==Introduction to Intel Threading Building Blocks== Intel Threading Building Blocks offers a rich and complete approach to expressing parallelism in a C++ program. It is a library that helps you leverage multi-core processorperformance without having to be a threading expert. Threading Building Blocks is not just a threads-replacement library; it represents a higher-level, taskbasedparallelism that abstracts platform details and threading mechanisms for performance and scalability.Intel® Threading Building Blocks (Intel® TBB) makes parallel performance and scalability easily accessible to software developers who are writing loop and task based applications. Developers can build robust applications that abstract platform details and threading mechanisms while achieving performance that scales with increasing core count.
'''Why Use It:'''Intel® Threading Building Blocks (Intel® TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance, that are portable and composable, and that have future-proof scalability.
- Rich feature set for general purpose parallelism. C++; Windows*, Linux*, OS X* and other OSes
[[== Key Benefits of Using Intel TBB]]== 
Intel TBB differs from typical threading packages in the following ways:
task queue that each processor must wait for and lock in order to get a new
task.
 
'''Threading Building Blocks relies on generic programming'''
specific needs.
== Initializing and Terminating the Library ==
 
Intel Threading Building Blocks components are defined in the tbb namespace. The using directive in the example enables you to use the library identifiers without having to write out the namespace prefix tbb before each identifier.
#include "tbb/task_scheduler_init.h"
'''using namespace tbb;'''
int main( ) {
task_scheduler_init init;
...
return 0;
Intel® Threading Building Blocks (Intel® TBB) makes parallel performance and scalability easily accessible to software developers who are writing loop and task based applications. Developers can build robust applications that abstract platform details and threading mechanisms while achieving performance that scales with increasing core count.}
== Rich Feature Set for Parallelism ==
10
edits

Navigation menu