41
41
#include <asm/hwcap.h>
42
42
#include <sys/auxv.h>
43
43
#endif
44
- #ifdef OS_DARWIN
45
- #include <sys/sysctl.h>
46
- int32_t value ;
47
- size_t length = sizeof (value );
48
- #endif
49
44
50
45
extern gotoblas_t gotoblas_ARMV8 ;
51
46
#ifdef DYNAMIC_LIST
@@ -104,11 +99,6 @@ extern gotoblas_t gotoblas_NEOVERSEN1;
104
99
#else
105
100
#define gotoblas_NEOVERSEN1 gotoblas_ARMV8
106
101
#endif
107
- #ifdef DYN_VORTEX
108
- extern gotoblas_t gotoblas_VORTEX ;
109
- #else
110
- #define gotoblas_VORTEX gotoblas_ARMV8
111
- #endif
112
102
#else
113
103
extern gotoblas_t gotoblas_CORTEXA53 ;
114
104
extern gotoblas_t gotoblas_CORTEXA57 ;
@@ -121,12 +111,11 @@ extern gotoblas_t gotoblas_TSV110;
121
111
extern gotoblas_t gotoblas_EMAG8180 ;
122
112
extern gotoblas_t gotoblas_NEOVERSEN1 ;
123
113
extern gotoblas_t gotoblas_THUNDERX3T110 ;
124
- extern gotoblas_t gotoblas_VORTEX ;
125
114
#endif
126
115
127
116
extern void openblas_warning (int verbose , const char * msg );
128
117
129
- #define NUM_CORETYPES 13
118
+ #define NUM_CORETYPES 12
130
119
131
120
/*
132
121
* In case asm/hwcap.h is outdated on the build system, make sure
@@ -153,7 +142,6 @@ static char *corename[] = {
153
142
"emag8180" ,
154
143
"neoversen1" ,
155
144
"thunderx3t110" ,
156
- "vortex" ,
157
145
"unknown"
158
146
};
159
147
@@ -170,7 +158,6 @@ char *gotoblas_corename(void) {
170
158
if (gotoblas == & gotoblas_EMAG8180 ) return corename [ 9 ];
171
159
if (gotoblas == & gotoblas_NEOVERSEN1 ) return corename [10 ];
172
160
if (gotoblas == & gotoblas_THUNDERX3T110 ) return corename [11 ];
173
- if (gotoblas == & gotoblas_VORTEX ) return corename [12 ];
174
161
return corename [NUM_CORETYPES ];
175
162
}
176
163
@@ -202,7 +189,6 @@ static gotoblas_t *force_coretype(char *coretype) {
202
189
case 9 : return (& gotoblas_EMAG8180 );
203
190
case 10 : return (& gotoblas_NEOVERSEN1 );
204
191
case 11 : return (& gotoblas_THUNDERX3T110 );
205
- case 12 : return (& gotoblas_VORTEX );
206
192
}
207
193
snprintf (message , 128 , "Core not found: %s\n" , coretype );
208
194
openblas_warning (1 , message );
@@ -214,10 +200,6 @@ static gotoblas_t *get_coretype(void) {
214
200
char coremsg [128 ];
215
201
216
202
#if (!defined OS_LINUX && !defined OS_ANDROID )
217
- #ifdef DARWIN
218
- sysctlbyname ("hw.cpufamily" ,& value ,& length ,NULL ,0 );
219
- if (value == 131287967 ) return CPU_VORTEX ;
220
- #endif
221
203
return NULL ;
222
204
#else
223
205
0 commit comments