summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-08-01 22:52:35 +0200
committerGitHub <noreply@github.com>2019-08-01 22:52:35 +0200
commit3d36c4511693bfd7c117465a701c5ff1f19f8565 (patch)
tree5af629ed6d8bdba755254c3b601a885702417d06
parent648491e1aa5cec7e8b8947d8ce47a825ceba705d (diff)
downloadopenblas-3d36c4511693bfd7c117465a701c5ff1f19f8565.tar.gz
openblas-3d36c4511693bfd7c117465a701c5ff1f19f8565.tar.bz2
openblas-3d36c4511693bfd7c117465a701c5ff1f19f8565.zip
Add CPUID identification of Intel Ice Lake
-rw-r--r--driver/others/dynamic.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c
index 045fc65b8..f1cd3c6e6 100644
--- a/driver/others/dynamic.c
+++ b/driver/others/dynamic.c
@@ -585,9 +585,27 @@ static gotoblas_t *get_coretype(void){
}
}
return NULL;
+ case 7:
+ if (model == 14) {
+ // Ice Lake
+ if (support_avx512())
+ return &gotoblas_SKYLAKEX;
+ if(support_avx2()){
+ openblas_warning(FALLBACK_VERBOSE, HASWELL_FALLBACK);
+ 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;
+ }
+ }
+ return NULL;
case 9:
case 8:
- if (model == 14 ) { // Kaby Lake
+ if (model == 14 ) { // Kaby Lake, Coffee Lake
if(support_avx2())
return &gotoblas_HASWELL;
if(support_avx()) {