Searched refs:num_hw_threads (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_affinity.cpp | 304 for (int k = 0; k < num_hw_threads; ++k) { in _insert_layer() 322 for (int i = 0; i < num_hw_threads; ++i) { in _insert_windows_proc_groups() 459 for (int i = 0; i < num_hw_threads; ++i) { in _gather_enumeration_information() 627 retval->num_hw_threads = nproc; in allocate() 654 if (num_hw_threads == 0) in check_ids() 727 if (num_hw_threads) { in print() 823 if (num_hw_threads <= 0) { in print() 1056 num_hw_threads = new_index; in restrict_to_mask() 1349 if (num_filtered == num_hw_threads) { in filter_hw_subset() 2874 if (tid >= num_hw_threads) in __kmp_dispatch_get_index() [all …]
|
| H A D | kmp_affinity.h | 886 int num_hw_threads; variable 951 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at() 955 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at() 958 int get_num_hw_threads() const { return num_hw_threads; } in get_num_hw_threads() 960 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_ids() 1051 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()
|