MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / is_hybrid_cpu

Function is_hybrid_cpu

subprojects/llama.cpp/common/common.cpp:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156static bool is_hybrid_cpu(void) {
157 unsigned eax, ebx, ecx, edx;
158 cpuid(7, 0, &eax, &ebx, &ecx, &edx);
159 return !!(edx & (1u << 15));
160}
161
162static bool is_running_on_efficiency_core(void) {
163 unsigned eax, ebx, ecx, edx;

Callers 1

cpu_get_num_mathFunction · 0.85

Calls 1

cpuidFunction · 0.85

Tested by

no test coverage detected