Browse Source

Fix detection of Ryzen2 (missing CORE_ZEN)

tags/v0.3.4
Martin Kroeker GitHub 7 years ago
parent
commit
64ca44873b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      cpuid_x86.c

+ 2
- 0
cpuid_x86.c View File

@@ -2009,6 +2009,8 @@ int get_coretype(void){
switch (model) {
case 1:
// AMD Ryzen
case 8:
// Ryzen 2
if(support_avx())
#ifndef NO_AVX2
return CORE_ZEN;


Loading…
Cancel
Save