Browse Source

Merge branch 'master' of github.com:xianyi/OpenBLAS into x86

tags/v0.1alpha2
Xianyi Zhang 14 years ago
parent
commit
141091f528
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      cpuid_x86.c
  2. +5
    -0
      driver/others/dynamic.c

+ 5
- 0
cpuid_x86.c View File

@@ -1305,6 +1305,11 @@ int get_coretype(void){
break;
case 2:
switch (model) {
case 5:
//Intel Core (Clarkdale) / Core (Arrandale)
// Pentium (Clarkdale) / Pentium Mobile (Arrandale)
// Xeon (Clarkdale), 32nm
return CORE_NEHALEM;
case 12:
//Xeon Processor 5600 (Westmere-EP)
return CORE_NEHALEM;


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

@@ -123,6 +123,11 @@ static gotoblas_t *get_coretype(void){
return NULL;

case 2:
//Intel Core (Clarkdale) / Core (Arrandale)
// Pentium (Clarkdale) / Pentium Mobile (Arrandale)
// Xeon (Clarkdale), 32nm
if (model == 5) return &gotoblas_NEHALEM;
//Intel Xeon Processor 5600 (Westmere-EP)
if (model == 12) return &gotoblas_NEHALEM;
return NULL;


Loading…
Cancel
Save