Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/cpuid-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cpuid-dump.c b/tools/cpuid-dump.c
index 040a27f..58eb1b7 100644
--- a/tools/cpuid-dump.c
+++ b/tools/cpuid-dump.c
@@ -105,7 +105,7 @@ int main(int argc, char** argv) {
}
break;
default:
- print_cpuid(cpuid(eax), eax);
+ print_cpuid(cpuidex(eax, 0), eax);
break;
}
}
@@ -122,7 +122,7 @@ int main(int argc, char** argv) {
print_cpuid_brand_string(cpuid(eax), eax);
break;
default:
- print_cpuid(cpuid(eax), eax);
+ print_cpuid(cpuidex(eax, 0), eax);
}
}
}