Browse Source

Add support to driver/others/dynamic.c too

tags/v0.3.11^2
Matthew Treinish 5 years ago
parent
commit
f37e941d52
No known key found for this signature in database GPG Key ID: FD12A0F214C9E177
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      driver/others/dynamic.c

+ 12
- 0
driver/others/dynamic.c View File

@@ -618,6 +618,18 @@ static gotoblas_t *get_coretype(void){
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
}
}
case 10:
if (model == 6) {
if(support_avx2())
return &gotoblas_HASWELL;
if(support_avx()) {
openblas_warning(FALLBACK_VERBOSE, SANDYBRIDGE_FALLBACK);
return &gotoblas_SANDYBRIDGE;
} else {
openblas_warning(FALLBACK_VERBOSE, NEHALEM_FALLBACK);
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
}
}
return NULL;
}
case 0xf:


Loading…
Cancel
Save