Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Debug Versus Release Libraries
The following table details the oneAPI Threading Building Blocks (oneTBB) dynamic shared libraries that come in debug and release versions.
Library |
Description |
When to Use |
---|---|---|
tbb_debug |
These versions have extensive internal checking for correct use of the library. |
Use with code that is compiled with the macro TBB_USE_DEBUG set to 1. |
tbb |
These versions deliver top performance. They eliminate most checking for correct use of the library. |
Use with code compiled with TBB_USE_DEBUG undefined or set to zero. |
oneTBB supports Intel® Inspector, Intel® VTune™ Profiler and Intel® Advisor. Full support of these tools requires compiling with macro TBB_USE_PROFILING_TOOLS=1. That symbol defaults to 1 in the following conditions:
When TBB_USE_DEBUG=1.
On the Microsoft Windows* operating system, when _DEBUG=1.
The oneTBB API Reference section explains the default values in more detail.