Skip to content

Commit cb6ef49

Browse files
authored
Merge pull request #2407 from susilehtola/patch-2
Patch out instances of Z15 in dynamic_zarch.c
2 parents 63994e1 + 5a6bba3 commit cb6ef49

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

driver/others/dynamic_zarch.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33

44
extern gotoblas_t gotoblas_Z13;
55
extern gotoblas_t gotoblas_Z14;
6-
extern gotoblas_t gotoblas_Z15;
6+
//extern gotoblas_t gotoblas_Z15;
77
//#if (!defined C_GCC) || (GCC_VERSION >= 60000)
88
//extern gotoblas_t gotoblas_Z14;
99
//#endif
1010

11-
#define NUM_CORETYPES 5
11+
#define NUM_CORETYPES 4
1212

1313
extern void openblas_warning(int verbose, const char* msg);
1414

1515
static char* corename[] = {
1616
"unknown",
1717
"Z13",
1818
"Z14",
19-
"Z15",
19+
// "Z15",
2020
"ZARCH_GENERIC",
2121
};
2222

2323
char* gotoblas_corename(void) {
2424
if (gotoblas == &gotoblas_Z13) return corename[1];
2525
if (gotoblas == &gotoblas_Z14) return corename[2];
26-
if (gotoblas == &gotoblas_Z15) return corename[3];
26+
// if (gotoblas == &gotoblas_Z15) return corename[3];
2727
//#if (!defined C_GCC) || (GCC_VERSION >= 60000)
2828
// if (gotoblas == &gotoblas_POWER9) return corename[3];
2929
//#endif
@@ -78,7 +78,7 @@ static gotoblas_t* force_coretype(char* coretype) {
7878
{
7979
case 1: return (&gotoblas_Z13);
8080
case 2: return (&gotoblas_Z14);
81-
case 3: return (&gotoblas_Z15);
81+
// case 3: return (&gotoblas_Z15);
8282
//#if (!defined C_GCC) || (GCC_VERSION >= 60000)
8383
// case 3: return (&gotoblas_POWER9);
8484
//#endif

0 commit comments

Comments
 (0)