Fix detection of Ryzen2 (missing CORE_ZEN)

This commit is contained in:
Martin Kroeker 2018-10-28 18:36:55 +01:00 committed by GitHub
parent 76a66eaac8
commit 64ca44873b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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