Searched refs:num_hw_threads (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_affinity.cpp | 279 for (int i = 0; i < num_hw_threads; ++i) { in _insert_layer() 304 for (int k = 0; k < num_hw_threads; ++k) { in _insert_layer() 320 int *ids = (int *)__kmp_allocate(sizeof(int) * num_hw_threads); in _insert_windows_proc_groups() 322 for (int i = 0; i < num_hw_threads; ++i) { in _insert_windows_proc_groups() 376 for (int hwidx = 1; hwidx < num_hw_threads; ++hwidx) { in _remove_radix1_layers() 407 for (int idx = 0; idx < num_hw_threads; ++idx) { in _remove_radix1_layers() 462 for (int i = 0; i < num_hw_threads; ++i) { in _gather_enumeration_information() 526 for (int i = 0; i < num_hw_threads; ++i) { in _get_ncores_with_attr() 566 for (int i = 0; i < num_hw_threads; ++i) { in _set_sub_ids() 630 retval->num_hw_threads = nproc; in allocate() [all …]
|
H A D | kmp_affinity.h | 893 int num_hw_threads; variable 958 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at() 962 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at() 965 int get_num_hw_threads() const { return num_hw_threads; } in get_num_hw_threads() 967 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_ids() 1058 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()
|