Intel ITB999ASGE1 用户手册

下载
页码 4
 
Top Features 
 
Flow Graph 
The flow graph feature provides a flexible and convenient API for 
expressing static and dynamic dependencies between computations.  It is 
customizable for a wide variety of problems.  It also extends the 
applicability of Intel® Threading Building Blocks (Intel® TBB) to event-
driven/reactive programming models.    
Intel TBB delivers high performing and reliable code with less effort than 
hand-made threading.  Pre-tested algorithms, concurrent containers, 
synchronization primitives, and a scalable memory allocator simplify 
parallel application development.  
 
Design For Scaling 
Dynamic Task Scheduler 
Application performance can automatically improve as processor core 
count increases by using abstract tasks. The sophisticated Intel® TBB task 
scheduler dynamically maps tasks to threads to balance the load among 
available cores, preserve cache locality, and maximize parallel 
performance.   The implementation supports C++ exceptions, task/task 
group priorities, and cancellation which are essential for large and 
interactive parallel C++ applications. 
Dynamic task scheduler and parallel algorithms support nested and 
recursive parallelism as well as running parallel constructs side-by-side.  
This is useful for introducing parallelism gradually and helps independent 
implementation of parallelism in different components of an application.  
 
 
#Pragma Simd and Intel® TBB can be used together 
Cross Platform Support and Composability 
Organizations that require cross platform support today or anticipate 
needing it in the future should consider Intel TBB.  It is validated and 
commercially supported on Windows*, Linux*, and OS X* platforms, using 
multiple compilers. It is also available on FreeBSD*, IA-based Solaris*, and 
PowerPC*-based systems via the open source community.  Intel TBB is 
optimized for multicore architectures and Intel® Xeon Phi™ coprocessor.   
Intel TBB is designed to co-exist with other threading packages and 
technologies.  Different components of Intel TBB can be used 
independently and mixed with other threading technologies.   
 
 
 
 
 
 
 
 
Order the
Top Community Support 
Broad support from an involved community provides developers access to 
additional platforms and OS’s.  Intel® Premier Support services and Intel® 
Support Forums provide confidential support, technical notes, application 
notes, and the latest documentation.  
A complete documentation package and code samples are readily available 
both as a part of Intel TBB installation and online at 
 provides an 
introduction into Intel TBB.  The Design Patterns chapter in the User Guide 
covers common parallel programming patterns and how to implement 
them using Intel TBB.  The 
 contains formal descriptions 
of all classes and functions implemented in Intel® TBB. 
 
 
 
tbb::parallel_for 
(0, n, [](int i) {
 
    #pragma simd reduction
(+:S[i])
 
 
    for( int j=0; j<n; ++j )
 
        S[i] += A[i][j];
 
}); 
//No OS specific code required