Home
last modified time | relevance | path

Searched refs:num_hw_threads (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp298 for (int i = 0; i < num_hw_threads; ++i) { in insert_layer()
323 for (int k = 0; k < num_hw_threads; ++k) { in insert_layer()
339 int *ids = (int *)__kmp_allocate(sizeof(int) * num_hw_threads); in _insert_windows_proc_groups()
341 for (int i = 0; i < num_hw_threads; ++i) { in _insert_windows_proc_groups()
395 for (int hwidx = 1; hwidx < num_hw_threads; ++hwidx) { in _remove_radix1_layers()
426 for (int idx = 0; idx < num_hw_threads; ++idx) { in _remove_radix1_layers()
481 for (int i = 0; i < num_hw_threads; ++i) { in _gather_enumeration_information()
548 for (int i = 0; i < num_hw_threads; ++i) { in _get_ncores_with_attr()
588 for (int i = 0; i < num_hw_threads; ++i) { in _set_sub_ids()
652 retval->num_hw_threads = nproc; in allocate()
[all …]
H A Dkmp_affinity.h907 int num_hw_threads; variable
969 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at()
973 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at()
976 int get_num_hw_threads() const { return num_hw_threads; } in get_num_hw_threads()
978 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_ids()
1073 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_compact()
H A Dkmp_dispatch_hier.h926 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()