Searched refs:num_hw_threads (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_affinity.cpp | 255 for (int k = 0; k < num_hw_threads; ++k) { in _insert_layer() 273 for (int i = 0; i < num_hw_threads; ++i) { in _insert_windows_proc_groups() 410 for (int i = 0; i < num_hw_threads; ++i) { in _gather_enumeration_information() 474 for (int i = 0; i < num_hw_threads; ++i) { in _get_ncores_with_attr() 578 retval->num_hw_threads = nproc; in allocate() 604 if (num_hw_threads == 0) in check_ids() 769 if (num_hw_threads <= 0) { in print() 1215 if (num_filtered == num_hw_threads) { in filter_hw_subset() 1237 num_hw_threads = new_index; in filter_hw_subset() 2769 if (tid >= num_hw_threads) in __kmp_dispatch_get_index() [all …]
|
| H A D | kmp_affinity.h | 712 int num_hw_threads; variable 774 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at() 778 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at() 781 int get_num_hw_threads() const { return num_hw_threads; } in get_num_hw_threads() 783 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_ids() 862 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_compact()
|
| H A D | kmp_dispatch_hier.h | 926 int tid, gtid, num_hw_threads, num_threads_per_layer1, active; in __kmp_dispatch_init_hierarchy() local 956 num_hw_threads = __kmp_hier_max_units[kmp_hier_layer_e::LAYER_THREAD + 1]; in __kmp_dispatch_init_hierarchy() 1056 if (tid >= num_hw_threads) in __kmp_dispatch_init_hierarchy() 1057 pr->hier_id += ((tid / num_hw_threads) * num_threads_per_layer1); in __kmp_dispatch_init_hierarchy()
|