Visible to Intel only — GUID: GUID-54662E77-F80D-4679-ADD6-2A7370B52C21
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
oneapi::tbb::info namespace
parallel_for_each Body semantics and requirements
parallel_sort ranges interface extension
Type-specified message keys for join_node
Scalable Memory Pools
Helper Functions for Expressing Graphs
concurrent_lru_cache
task_arena::constraints extensions
oneapi::tbb::info namespace extensions
Description
API
task_group extensions
The customizing mutex type for concurrent_hash_map
Visible to Intel only — GUID: GUID-54662E77-F80D-4679-ADD6-2A7370B52C21
oneapi::tbb::info namespace extensions
NOTE:
To enable this feature, set the TBB_PREVIEW_TASK_ARENA_CONSTRAINTS_EXTENSION macro to 1.
Description
These extensions allow to query information about execution environment.
API
Header
#include <oneapi/tbb/info.h>
Syntax
namespace oneapi { namespace tbb { using core_type_id = /*implementation-defined*/; namespace info { std::vector<core_type_id> core_types(); int default_concurrency(task_arena::constraints c); } } }
Types
core_type_id - Represents core type identifier.
Functions
std::vector<core_type_id>core_types()
Returns the vector of integral indexes that indicate available core types. The indexes are sorted from the least performant to the most performant core type.
NOTE:
If error occurs during system topology parsing, returns vector containing single element that equals to task_arena::automatic.
intdefault_concurrency(task_arena::constraintsc)
Returns concurrency level for the given constraints.
See also: