Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_utility.cpp35 int __kmp_get_physical_id(int log_per_phy, int apic_id) { in __kmp_get_physical_id() argument
38 if (log_per_phy > 1) { in __kmp_get_physical_id()
42 temp = log_per_phy; in __kmp_get_physical_id()
48 temp = log_per_phy; in __kmp_get_physical_id()
69 int __kmp_get_logical_id(int log_per_phy, int apic_id) { in __kmp_get_logical_id() argument
73 if (log_per_phy <= 1) in __kmp_get_logical_id()
78 for (current_bit = 1; log_per_phy != 0; current_bit <<= 1) { in __kmp_get_logical_id()
79 if (log_per_phy & current_bit) { in __kmp_get_logical_id()
80 log_per_phy &= ~current_bit; in __kmp_get_logical_id()
125 int log_per_phy; in __kmp_query_cpuid() local
[all …]