Home
last modified time | relevance | path

Searched refs:core_type (Results 1 – 9 of 9) sorted by relevance

/oneTBB/test/common/
H A Dcommon_arena_constraints.h405 if (c.core_type != tbb::task_arena::automatic) { in prepare_reference_affinity_mask()
408 [&](index_info info) { return info.index == c.core_type; } in prepare_reference_affinity_mask()
493 …return (std::hash<int>{}(c.numa_id) ^ std::hash<int>{}(c.core_type) ^ std::hash<int>{}(c.max_threa… in operator()
500 c1.core_type == c2.core_type && in operator()
525 for (const auto& core_type : core_types) { in generate_constraints_variety() local
526 results.insert(constraints{}.set_core_type(core_type)); in generate_constraints_variety()
531 .set_core_type(core_type) in generate_constraints_variety()
548 .set_core_type(core_type) in generate_constraints_variety()
555 .set_core_type(core_type) in generate_constraints_variety()
569 … && (it->core_type == tbb::task_arena::automatic || tbb::info::core_types().size() == 1) in generate_constraints_variety()
/oneTBB/src/tbbbind/
H A Dtbb_bind.cpp197 for (int core_type = 0; core_type < core_types_number; ++core_type) { in core_types_topology_parsing() local
198 hwloc_cpuset_t& current_mask = core_types_affinity_masks_list[core_type]; in core_types_topology_parsing()
201 … if (!hwloc_cpukinds_get_info(topology, core_type, current_mask, &efficiency, nullptr, nullptr, 0) in core_types_topology_parsing()
207 core_types_indexes_list.push_back(core_type); in core_types_topology_parsing()
/oneTBB/include/oneapi/tbb/
H A Dinfo.h53 core_type = id; in set_core_type()
63 core_type_id core_type = -1; member
H A Dtask_arena.h158 core_type_id core_type() const { in core_type() function
191 , my_core_type(constraints_.core_type) in task_arena_base()
334 my_core_type = constraints_.core_type;
/oneTBB/src/tbb/
H A Darena.cpp40 …numa_binding_observer( d1::task_arena* ta, int num_slots, int numa_id, core_type_id core_type, int… in numa_binding_observer() argument
42 …, my_binding_handler(construct_binding_handler(num_slots, numa_id, core_type, max_threads_per_core… in numa_binding_observer()
58 …_observer( d1::task_arena* ta, int num_slots, int numa_id, core_type_id core_type, int max_threads… in construct_binding_observer() argument
60 …if ((core_type >= 0 && core_type_count() > 1) || (numa_id >= 0 && numa_node_count() > 1) || max_th… in construct_binding_observer()
61 …(numa_binding_observer))) numa_binding_observer(ta, num_slots, numa_id, core_type, max_threads_per… in construct_binding_observer()
544 .set_core_type(ta.core_type()) in initialize()
565 …static_cast<d1::task_arena*>(&ta), a.my_num_slots, ta.my_numa_id, ta.core_type(), ta.max_threads_p… in initialize()
843 .set_core_type(ta->core_type()) in max_concurrency()
H A Dgovernor.cpp563 __TBB_ASSERT_RELEASE(c.core_type == system_topology::automatic || in constraints_assertion()
564 …(is_topology_initialized && std::find(core_types_begin, core_types_end, c.core_type) != core_types… in constraints_assertion()
571 if (c.numa_id >= 0 || c.core_type >= 0 || c.max_threads_per_core > 0) { in constraints_default_concurrency()
573 return get_default_concurrency_ptr(c.numa_id, c.core_type, c.max_threads_per_core); in constraints_default_concurrency()
H A Dtcm_adaptor.cpp177 if (constraints.core_type != d1::task_arena::automatic || in init()
183 my_permit_constraints.core_type_id = constraints.core_type; in init()
/oneTBB/test/tbb/
H A Dtest_arena_constraints.cpp40 (c.core_type != tbb::task_arena::automatic && core_types.size() > 1) || in is_observer_created()
158 constraints assignment_c{}; assignment_c.core_type = core_type_index;
/oneTBB/doc/main/tbb_userguide/
H A DGuiding_Task_Scheduler_Execution.rst66 …cution, assign a specific core type identifier to the ``task_arena::constraints::core_type`` field.