This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
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
Add cpuid for AMD Ryzen 2
for
#1664
tags/v0.3.2^2
Martin Kroeker
GitHub
7 years ago
parent
61659f8765
commit
3f73e8b8cf
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
cpuid_x86.c
+ 2
- 0
cpuid_x86.c
View File
@@ -1452,6 +1452,8 @@ int get_cpuname(void){
switch (model) {
switch (model) {
case 1:
case 1:
// AMD Ryzen
// AMD Ryzen
case 8:
// AMD Ryzen2
if(support_avx())
if(support_avx())
#ifndef NO_AVX2
#ifndef NO_AVX2
return CPUTYPE_ZEN;
return CPUTYPE_ZEN;
Write
Preview
Loading…
Cancel
Save