Lines Matching refs:task_arena
13 |full_name| provides the ``task_arena`` interface to guide tasks execution within the arena by:
17 Such customizations are encapsulated within the ``task_arena::constraints`` structure.
18 To set the limitation, you have to customize the ``task_arena::constraints`` and then pass
19 it to the ``task_arena`` instance during the construction or initialization.
21 The structure ``task_arena::constraints`` allows to specify the following restrictions:
26 - The level of ``task_arena`` concurrency
28 You may use the interfaces from ``tbb::info`` namespace to construct the ``tbb::task_arena::constra…
39 a different NUMA node. To reduce this overhead, the work may be divided among several ``task_arena``
41 assign a NUMA node identifier to the ``task_arena::constraints::numa_id`` field.
46 std::vector<tbb::task_arena> arenas(numa_indexes.size());
50 arenas[j].initialize(tbb::task_arena::constraints(numa_indexes[j]));
66 …ype for the execution, assign a specific core type identifier to the ``task_arena::constraints::co…
73 tbb::task_arena arena(
74 tbb::task_arena::constraints{}.set_core_type(core_types.back())
86 assign the desired value to the ``task_arena::constraints::max_threads_per_core`` field.
92 tbb::task_arena no_ht_arena( tbb::task_arena::constraints{}.set_max_threads_per_core(1) );
98 concurrency of the ``tbb::task_arena``:
103 tbb::task_arena::constraints{}.set_max_threads_per_core(1)
105 tbb::task_arena arena( no_ht_concurrency );