Browse Source

Improved the print when OS don't support AVX.

tags/v0.2.6
Zhang Xianyi 12 years ago
parent
commit
f1ce74ffdd
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      driver/others/dynamic.c

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

@@ -175,7 +175,7 @@ static gotoblas_t *get_coretype(void){
if(support_avx()) if(support_avx())
return &gotoblas_SANDYBRIDGE; return &gotoblas_SANDYBRIDGE;
else{ else{
fprintf(stderr, "OpenBLAS : Your OS doesn't support AVX. Use Nehalem kernels.\n");
fprintf(stderr, "OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.\n");
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels. return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
} }
} }
@@ -186,7 +186,7 @@ static gotoblas_t *get_coretype(void){
if(support_avx()) if(support_avx())
return &gotoblas_SANDYBRIDGE; return &gotoblas_SANDYBRIDGE;
else{ else{
fprintf(stderr, "OpenBLAS : Your OS doesn't support AVX. Use Nehalem kernels.\n");
fprintf(stderr, "OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.\n");
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels. return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
} }
} }
@@ -211,7 +211,7 @@ static gotoblas_t *get_coretype(void){
if(support_avx()) if(support_avx())
return &gotoblas_BULLDOZER; return &gotoblas_BULLDOZER;
else{ else{
fprintf(stderr, "OpenBLAS : Your OS doesn't support AVX. Use Barcelona kernels.\n");
fprintf(stderr, "OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Barcelona kernels as a fallback, which may give poorer performance.\n");
return &gotoblas_BARCELONA; //OS doesn't support AVX. Use old kernels. return &gotoblas_BARCELONA; //OS doesn't support AVX. Use old kernels.
} }
} else { } else {


Loading…
Cancel
Save