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.
Visible to Intel only — GUID: GUID-54662E77-F80D-4679-ADD6-2A7370B52C21
Visible to Intel only — GUID: GUID-54662E77-F80D-4679-ADD6-2A7370B52C21
oneapi::tbb::info namespace extensions
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.
intdefault_concurrency(task_arena::constraintsc)
Returns concurrency level for the given constraints.
See also: