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

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;