Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp308 for (int i = 0; i < num_hw_threads; ++i) { in _gather_enumeration_information()
353 for (int i = 0; i < num_hw_threads; ++i) { in _set_sub_ids()
417 retval->num_hw_threads = nproc; in allocate()
439 if (num_hw_threads == 0) in check_ids()
441 for (int i = 1; i < num_hw_threads; ++i) { in check_ids()
492 for (int i = 0; i < num_hw_threads; ++i) { in dump()
574 if (num_hw_threads <= 0) { in print()
581 for (int i = 0; i < num_hw_threads; i++) { in print()
776 num_hw_threads = new_index; in filter_hw_subset()
2147 if (tid >= num_hw_threads) in __kmp_dispatch_get_index()
[all …]
H A Dkmp_affinity.h643 int num_hw_threads; variable
691 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at()
695 KMP_DEBUG_ASSERT(index >= 0 && index < num_hw_threads); in at()
698 int get_num_hw_threads() const { return num_hw_threads; } in get_num_hw_threads()
700 qsort(hw_threads, num_hw_threads, sizeof(kmp_hw_thread_t), in sort_ids()
769 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()