Browse Source

Fix bad copypasta of code from cpuid_x86

pull/1621/head
Martin Kroeker GitHub 8 years ago
parent
commit
3242317eff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      driver/others/dynamic.c

+ 4
- 4
driver/others/dynamic.c View File

@@ -342,16 +342,16 @@ static gotoblas_t *get_coretype(void){
if (model == 6) {
// Cannon Lake
#ifndef NO_AVX512
return CPUTYPE_SKYLAKEX;
return &gotoblas_SKYLAKEX;
#else
if(support_avx())
#ifndef NO_AVX2
return CPUTYPE_HASWELL;
return &gotoblas_HASWELL;
#else
return CPUTYPE_SANDYBRIDGE;
return &gotblas_SANDYBRIDGE;
#endif
else
return CPUTYPE_NEHALEM;
return &gotoblas_NEHALEM;
#endif
}
return NULL;


Loading…
Cancel
Save