Searched refs:automatic (Results 1 – 18 of 18) sorted by relevance
| /oneTBB/python/tbb/ |
| H A D | api.i | 82 void _concurrency_barrier(int threads = tbb::task_arena::automatic) { 83 if(threads == tbb::task_arena::automatic) 110 void _concurrency_barrier(int threads = tbb::task_arena::automatic); 116 static const int automatic = -1; 117 task_arena(int max_concurrency = automatic, unsigned reserved_for_masters = 1);
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | task_arena.h | 159 …_version_and_traits & core_type_support_flag) == core_type_support_flag ? my_core_type : automatic; in core_type() 162 …d_traits & core_type_support_flag) == core_type_support_flag ? my_max_threads_per_core : automatic; in max_threads_per_core() 177 , my_numa_id(automatic) in task_arena_base() 178 , my_core_type(automatic) in task_arena_base() 179 , my_max_threads_per_core(automatic) in task_arena_base() 197 static const int automatic = -1; 261 task_arena(int max_concurrency_ = automatic, unsigned reserved_for_masters = 1, 295 : task_arena_base(automatic, 1, priority::normal) // use default settings if attach fails in task_arena()
|
| /oneTBB/src/tbb/ |
| H A D | governor.cpp | 420 constexpr int automatic = -1; variable 474 static int dummy_index = automatic; in initialization_impl() 531 /*core_type*/system_topology::automatic, in numa_default_concurrency() 532 /*threads_per_core*/system_topology::automatic in numa_default_concurrency() 551 …__TBB_ASSERT_RELEASE(c.max_threads_per_core == system_topology::automatic || c.max_threads_per_cor… in constraints_assertion() 557 c.numa_id == system_topology::automatic || in constraints_assertion() 563 __TBB_ASSERT_RELEASE(c.core_type == system_topology::automatic || in constraints_assertion() 579 return system_topology::automatic; in constraints_threads_per_core()
|
| H A D | tcm_adaptor.cpp | 177 if (constraints.core_type != d1::task_arena::automatic || in init() 178 constraints.numa_id != d1::task_arena::automatic || in init() 179 constraints.max_threads_per_core != d1::task_arena::automatic) in init()
|
| H A D | arena.cpp | 849 __TBB_ASSERT(!ta || ta->my_max_concurrency==d1::task_arena_base::automatic, nullptr); in max_concurrency()
|
| /oneTBB/test/common/ |
| H A D | common_arena_constraints.h | 395 if (c.numa_id != tbb::task_arena::automatic) { in prepare_reference_affinity_mask() 405 if (c.core_type != tbb::task_arena::automatic) { in prepare_reference_affinity_mask() 423 …if (constraints.max_threads_per_core == tbb::task_arena::automatic || constraints.max_threads_per_… in test_constraints_affinity_and_concurrency() 486 … std::vector<int> get_available_max_threads_values() { return {tbb::task_arena::automatic, 1, 2}; } in get_available_max_threads_values() 514 numa_nodes.push_back((tbb::numa_node_id)tbb::task_arena::automatic); in generate_constraints_variety() 518 core_types.push_back((tbb::core_type_id)tbb::task_arena::automatic); in generate_constraints_variety() 566 if (it->max_threads_per_core != tbb::task_arena::automatic in generate_constraints_variety() 567 … && (it->numa_id == tbb::task_arena::automatic || tbb::info::numa_nodes().size() == 1) in generate_constraints_variety() 569 … && (it->core_type == tbb::task_arena::automatic || tbb::info::core_types().size() == 1) in generate_constraints_variety()
|
| /oneTBB/test/tbb/ |
| H A D | test_arena_constraints.cpp | 39 (c.numa_id != tbb::task_arena::automatic && numa_nodes.size() > 1) || in is_observer_created() 40 (c.core_type != tbb::task_arena::automatic && core_types.size() > 1) || in is_observer_created() 41 c.max_threads_per_core != tbb::task_arena::automatic; in is_observer_created()
|
| H A D | test_arena_priorities.cpp | 133 tbb::task_arena::constraints properties{tbb::task_arena::automatic, arena_max_concurrency}; in allocate_and_construct_arena() 245 concurrency = tbb::task_arena::automatic; in test()
|
| H A D | test_task_arena.cpp | 77 tbb::task_arena arena( tbb::task_arena::automatic ); in InitializeAndTerminate()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Automatic_Chunking.rst | 21 The default automatic chunking is recommended for most uses. As with
|
| H A D | Partitioner_Summary.rst | 53 subrange size, you can use an automatic variable for the array
|
| H A D | Controlling_Chunking_os.rst | 12 ``parallel_for``. Doing so turns off automatic chunking. 51 partitioner. Both partitioners implement the automatic grainsize
|
| H A D | Lambda_Expressions.rst | 100 integers and the automatic chunking feature detailed on the following
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Agglomeration.rst | 88 argument support automatic agglomeration. 153 line transfers. Though they are automatic, understanding which
|
| H A D | Elementwise.rst | 107 ``oneapi::tbb::parallel_for`` does automatic agglomeration by implicitly
|
| H A D | Reduction.rst | 208 size for agglomeration; automatic block size selection is not used
|
| /oneTBB/cmake/ |
| H A D | README.md | 20 TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH - Disable HWLOC automatic search by pkg-config tool (OFF by defa… 79 Specify the `TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH` to turn off the HWLOC library's automatic search.
|
| /oneTBB/ |
| H A D | CMakeLists.txt | 106 option(TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH "Disable HWLOC automatic search by pkg-config tool" ${CMA…
|