This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
cpuid_arm: fix detection when cpuinfo uses "Processor"
instead of "model name"
tags/v0.2.11^2
Isaiah Norton
11 years ago
parent
4f83217df6
commit
a183ad1df4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cpuid_arm.c
+ 1
- 1
cpuid_arm.c
View File
@@ -90,7 +90,7 @@ int detect(void)
while (fgets(buffer, sizeof(buffer), infile))
{
if (!strncmp("model name", buffer, 10))
if (
(
!strncmp("model name", buffer, 10))
|| (!strncmp("Processor", buffer, 9)))
{
p = strchr(buffer, ':') + 2;
break;
Write
Preview
Loading…
Cancel
Save