Fix detection of Ryzen2 (missing CORE_ZEN)
This commit is contained in:
parent
76a66eaac8
commit
64ca44873b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue