Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
ID
772616
Date
3/31/2025
Public
A newer version of this document is available. Customers should click here to go to the newest version.
Package Contents
Parallelizing Simple Loops
Parallelizing Complex Loops
Parallelizing Data Flow and Dependence Graphs
Work Isolation
Exceptions and Cancellation
Containers
Mutual Exclusion
Timing
Memory Allocation
The Task Scheduler
Design Patterns
Migrating from Threading Building Blocks (TBB)
Constrained APIs
Appendix A Costs of Time Slicing
Appendix B Mixing With Other Threading Packages
References
parallel_for_each Body semantics and requirements
parallel_sort ranges interface extension
TBB_malloc_replacement_log Function
Parallel Reduction for rvalues
Type-specified message keys for join_node
Scalable Memory Pools
Helper Functions for Expressing Graphs
concurrent_lru_cache
task_group extensions
The customizing mutex type for concurrent_hash_map
Waiting for Single Messages in Flow Graph
parallel_phase Interface for Task Arena
Deduction Guides for blocked_nd_range
Linux*
This section uses <tbb_install_dir> to indicate the top-level installation directory. The following table describes the subdirectory structure for Linux*, relative to <tbb_install_dir>
Item |
Location |
Environment Variable |
---|---|---|
Header files |
include/oneapi/tbb.h |
CPATH |
Shared libraries |
lib/<arch>/<lib><variant>.so.<version> |
LIBRARY_PATH |
Where:
<arch> - ia32 or intel64
NOTE:Starting with oneTBB 2022.0, 32-bit binaries are supported only by the open-source version of the library.<lib> - libtbb, libtbbmalloc, libtbbmalloc_proxy or libtbbbind
<variant> - _debug or empty
<version> - binary version in a form of <major>.<minor>