Modified Makefile to avoid redundant echo.
[platform/upstream/openblas.git] / common_c.h
1 #ifndef COMMON_C_H
2 #define COMMON_C_H
3
4 #ifndef DYNAMIC_ARCH
5
6 #define CAMAX_K                 camax_k
7 #define CAMIN_K                 camin_k
8 #define CMAX_K                  cmax_k
9 #define CMIN_K                  cmin_k
10 #define ICAMAX_K                icamax_k
11 #define ICAMIN_K                icamin_k
12 #define ICMAX_K                 icmax_k
13 #define ICMIN_K                 icmin_k
14 #define CASUM_K                 casum_k
15 #define CAXPYU_K                caxpy_k
16 #define CAXPYC_K                caxpyc_k
17 #define CCOPY_K                 ccopy_k
18 #define CDOTU_K                 cdotu_k
19 #define CDOTC_K                 cdotc_k
20 #define CNRM2_K                 cnrm2_k
21 #define CSCAL_K                 cscal_k
22 #define CSWAP_K                 cswap_k
23 #define CROT_K                  csrot_k
24
25 #define CGEMV_N                 cgemv_n
26 #define CGEMV_T                 cgemv_t
27 #define CGEMV_R                 cgemv_r
28 #define CGEMV_C                 cgemv_c
29 #define CGEMV_O                 cgemv_o
30 #define CGEMV_U                 cgemv_u
31 #define CGEMV_S                 cgemv_s
32 #define CGEMV_D                 cgemv_d
33
34 #define CGERU_K                 cgeru_k
35 #define CGERC_K                 cgerc_k
36 #define CGERV_K                 cgerv_k
37 #define CGERD_K                 cgerd_k
38
39 #define CSYMV_U                 csymv_U
40 #define CSYMV_L                 csymv_L
41 #define CHEMV_U                 chemv_U
42 #define CHEMV_L                 chemv_L
43 #define CHEMV_V                 chemv_V
44 #define CHEMV_M                 chemv_M
45
46 #define CSYMV_THREAD_U          csymv_thread_U
47 #define CSYMV_THREAD_L          csymv_thread_L
48 #define CHEMV_THREAD_U          chemv_thread_U
49 #define CHEMV_THREAD_L          chemv_thread_L
50 #define CHEMV_THREAD_V          chemv_thread_V
51 #define CHEMV_THREAD_M          chemv_thread_M
52
53 #define CGEMM_ONCOPY            cgemm_oncopy
54 #define CGEMM_OTCOPY            cgemm_otcopy
55
56 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
57 #define CGEMM_INCOPY            cgemm_oncopy
58 #define CGEMM_ITCOPY            cgemm_otcopy
59 #else
60 #define CGEMM_INCOPY            cgemm_incopy
61 #define CGEMM_ITCOPY            cgemm_itcopy
62 #endif
63
64 #define CTRMM_OUNUCOPY          ctrmm_ounucopy
65 #define CTRMM_OUNNCOPY          ctrmm_ounncopy
66 #define CTRMM_OUTUCOPY          ctrmm_outucopy
67 #define CTRMM_OUTNCOPY          ctrmm_outncopy
68 #define CTRMM_OLNUCOPY          ctrmm_olnucopy
69 #define CTRMM_OLNNCOPY          ctrmm_olnncopy
70 #define CTRMM_OLTUCOPY          ctrmm_oltucopy
71 #define CTRMM_OLTNCOPY          ctrmm_oltncopy
72
73 #define CTRSM_OUNUCOPY          ctrsm_ounucopy
74 #define CTRSM_OUNNCOPY          ctrsm_ounncopy
75 #define CTRSM_OUTUCOPY          ctrsm_outucopy
76 #define CTRSM_OUTNCOPY          ctrsm_outncopy
77 #define CTRSM_OLNUCOPY          ctrsm_olnucopy
78 #define CTRSM_OLNNCOPY          ctrsm_olnncopy
79 #define CTRSM_OLTUCOPY          ctrsm_oltucopy
80 #define CTRSM_OLTNCOPY          ctrsm_oltncopy
81
82 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
83 #define CTRMM_IUNUCOPY          ctrmm_ounucopy
84 #define CTRMM_IUNNCOPY          ctrmm_ounncopy
85 #define CTRMM_IUTUCOPY          ctrmm_outucopy
86 #define CTRMM_IUTNCOPY          ctrmm_outncopy
87 #define CTRMM_ILNUCOPY          ctrmm_olnucopy
88 #define CTRMM_ILNNCOPY          ctrmm_olnncopy
89 #define CTRMM_ILTUCOPY          ctrmm_oltucopy
90 #define CTRMM_ILTNCOPY          ctrmm_oltncopy
91
92 #define CTRSM_IUNUCOPY          ctrsm_ounucopy
93 #define CTRSM_IUNNCOPY          ctrsm_ounncopy
94 #define CTRSM_IUTUCOPY          ctrsm_outucopy
95 #define CTRSM_IUTNCOPY          ctrsm_outncopy
96 #define CTRSM_ILNUCOPY          ctrsm_olnucopy
97 #define CTRSM_ILNNCOPY          ctrsm_olnncopy
98 #define CTRSM_ILTUCOPY          ctrsm_oltucopy
99 #define CTRSM_ILTNCOPY          ctrsm_oltncopy
100 #else
101 #define CTRMM_IUNUCOPY          ctrmm_iunucopy
102 #define CTRMM_IUNNCOPY          ctrmm_iunncopy
103 #define CTRMM_IUTUCOPY          ctrmm_iutucopy
104 #define CTRMM_IUTNCOPY          ctrmm_iutncopy
105 #define CTRMM_ILNUCOPY          ctrmm_ilnucopy
106 #define CTRMM_ILNNCOPY          ctrmm_ilnncopy
107 #define CTRMM_ILTUCOPY          ctrmm_iltucopy
108 #define CTRMM_ILTNCOPY          ctrmm_iltncopy
109
110 #define CTRSM_IUNUCOPY          ctrsm_iunucopy
111 #define CTRSM_IUNNCOPY          ctrsm_iunncopy
112 #define CTRSM_IUTUCOPY          ctrsm_iutucopy
113 #define CTRSM_IUTNCOPY          ctrsm_iutncopy
114 #define CTRSM_ILNUCOPY          ctrsm_ilnucopy
115 #define CTRSM_ILNNCOPY          ctrsm_ilnncopy
116 #define CTRSM_ILTUCOPY          ctrsm_iltucopy
117 #define CTRSM_ILTNCOPY          ctrsm_iltncopy
118 #endif
119
120 #define CGEMM_BETA              cgemm_beta
121
122 #define CGEMM_KERNEL_N          cgemm_kernel_n
123 #define CGEMM_KERNEL_L          cgemm_kernel_l
124 #define CGEMM_KERNEL_R          cgemm_kernel_r
125 #define CGEMM_KERNEL_B          cgemm_kernel_b
126
127 #define CTRMM_KERNEL_LN         ctrmm_kernel_LN
128 #define CTRMM_KERNEL_LT         ctrmm_kernel_LT
129 #define CTRMM_KERNEL_LR         ctrmm_kernel_LR
130 #define CTRMM_KERNEL_LC         ctrmm_kernel_LC
131 #define CTRMM_KERNEL_RN         ctrmm_kernel_RN
132 #define CTRMM_KERNEL_RT         ctrmm_kernel_RT
133 #define CTRMM_KERNEL_RR         ctrmm_kernel_RR
134 #define CTRMM_KERNEL_RC         ctrmm_kernel_RC
135
136 #define CTRSM_KERNEL_LN         ctrsm_kernel_LN
137 #define CTRSM_KERNEL_LT         ctrsm_kernel_LT
138 #define CTRSM_KERNEL_LR         ctrsm_kernel_LR
139 #define CTRSM_KERNEL_LC         ctrsm_kernel_LC
140 #define CTRSM_KERNEL_RN         ctrsm_kernel_RN
141 #define CTRSM_KERNEL_RT         ctrsm_kernel_RT
142 #define CTRSM_KERNEL_RR         ctrsm_kernel_RR
143 #define CTRSM_KERNEL_RC         ctrsm_kernel_RC
144
145 #define CSYMM_OUTCOPY           csymm_outcopy
146 #define CSYMM_OLTCOPY           csymm_oltcopy
147 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
148 #define CSYMM_IUTCOPY           csymm_outcopy
149 #define CSYMM_ILTCOPY           csymm_oltcopy
150 #else
151 #define CSYMM_IUTCOPY           csymm_iutcopy
152 #define CSYMM_ILTCOPY           csymm_iltcopy
153 #endif
154
155 #define CHEMM_OUTCOPY           chemm_outcopy
156 #define CHEMM_OLTCOPY           chemm_oltcopy
157 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
158 #define CHEMM_IUTCOPY           chemm_outcopy
159 #define CHEMM_ILTCOPY           chemm_oltcopy
160 #else
161 #define CHEMM_IUTCOPY           chemm_iutcopy
162 #define CHEMM_ILTCOPY           chemm_iltcopy
163 #endif
164
165 #define CGEMM3M_ONCOPYB         cgemm3m_oncopyb
166 #define CGEMM3M_ONCOPYR         cgemm3m_oncopyr
167 #define CGEMM3M_ONCOPYI         cgemm3m_oncopyi
168 #define CGEMM3M_OTCOPYB         cgemm3m_otcopyb
169 #define CGEMM3M_OTCOPYR         cgemm3m_otcopyr
170 #define CGEMM3M_OTCOPYI         cgemm3m_otcopyi
171
172 #define CGEMM3M_INCOPYB         cgemm3m_incopyb
173 #define CGEMM3M_INCOPYR         cgemm3m_incopyr
174 #define CGEMM3M_INCOPYI         cgemm3m_incopyi
175 #define CGEMM3M_ITCOPYB         cgemm3m_itcopyb
176 #define CGEMM3M_ITCOPYR         cgemm3m_itcopyr
177 #define CGEMM3M_ITCOPYI         cgemm3m_itcopyi
178
179 #define CSYMM3M_ILCOPYB         csymm3m_ilcopyb
180 #define CSYMM3M_IUCOPYB         csymm3m_iucopyb
181 #define CSYMM3M_ILCOPYR         csymm3m_ilcopyr
182 #define CSYMM3M_IUCOPYR         csymm3m_iucopyr
183 #define CSYMM3M_ILCOPYI         csymm3m_ilcopyi
184 #define CSYMM3M_IUCOPYI         csymm3m_iucopyi
185
186 #define CSYMM3M_OLCOPYB         csymm3m_olcopyb
187 #define CSYMM3M_OUCOPYB         csymm3m_oucopyb
188 #define CSYMM3M_OLCOPYR         csymm3m_olcopyr
189 #define CSYMM3M_OUCOPYR         csymm3m_oucopyr
190 #define CSYMM3M_OLCOPYI         csymm3m_olcopyi
191 #define CSYMM3M_OUCOPYI         csymm3m_oucopyi
192
193 #define CHEMM3M_ILCOPYB         chemm3m_ilcopyb
194 #define CHEMM3M_IUCOPYB         chemm3m_iucopyb
195 #define CHEMM3M_ILCOPYR         chemm3m_ilcopyr
196 #define CHEMM3M_IUCOPYR         chemm3m_iucopyr
197 #define CHEMM3M_ILCOPYI         chemm3m_ilcopyi
198 #define CHEMM3M_IUCOPYI         chemm3m_iucopyi
199
200 #define CHEMM3M_OLCOPYB         chemm3m_olcopyb
201 #define CHEMM3M_OUCOPYB         chemm3m_oucopyb
202 #define CHEMM3M_OLCOPYR         chemm3m_olcopyr
203 #define CHEMM3M_OUCOPYR         chemm3m_oucopyr
204 #define CHEMM3M_OLCOPYI         chemm3m_olcopyi
205 #define CHEMM3M_OUCOPYI         chemm3m_oucopyi
206
207 #define CGEMM3M_KERNEL          cgemm3m_kernel
208
209 #define CNEG_TCOPY              cneg_tcopy
210 #define CLASWP_NCOPY            claswp_ncopy
211
212 #else
213
214 #define CAMAX_K                 gotoblas -> camax_k
215 #define CAMIN_K                 gotoblas -> camin_k
216 #define CMAX_K                  gotoblas -> cmax_k
217 #define CMIN_K                  gotoblas -> cmin_k
218 #define ICAMAX_K                gotoblas -> icamax_k
219 #define ICAMIN_K                gotoblas -> icamin_k
220 #define ICMAX_K                 gotoblas -> icmax_k
221 #define ICMIN_K                 gotoblas -> icmin_k
222 #define CASUM_K                 gotoblas -> casum_k
223 #define CAXPYU_K                gotoblas -> caxpy_k
224 #define CAXPYC_K                gotoblas -> caxpyc_k
225 #define CCOPY_K                 gotoblas -> ccopy_k
226 #define CDOTU_K                 gotoblas -> cdotu_k
227 #define CDOTC_K                 gotoblas -> cdotc_k
228 #define CNRM2_K                 gotoblas -> cnrm2_k
229 #define CSCAL_K                 gotoblas -> cscal_k
230 #define CSWAP_K                 gotoblas -> cswap_k
231 #define CROT_K                  gotoblas -> csrot_k
232
233 #define CGEMV_N                 gotoblas -> cgemv_n
234 #define CGEMV_T                 gotoblas -> cgemv_t
235 #define CGEMV_R                 gotoblas -> cgemv_r
236 #define CGEMV_C                 gotoblas -> cgemv_c
237 #define CGEMV_O                 gotoblas -> cgemv_o
238 #define CGEMV_U                 gotoblas -> cgemv_u
239 #define CGEMV_S                 gotoblas -> cgemv_s
240 #define CGEMV_D                 gotoblas -> cgemv_d
241
242 #define CGERU_K                 gotoblas -> cgeru_k
243 #define CGERC_K                 gotoblas -> cgerc_k
244 #define CGERV_K                 gotoblas -> cgerv_k
245 #define CGERD_K                 gotoblas -> cgerd_k
246
247 #define CSYMV_U                 gotoblas -> csymv_U
248 #define CSYMV_L                 gotoblas -> csymv_L
249 #define CHEMV_U                 gotoblas -> chemv_U
250 #define CHEMV_L                 gotoblas -> chemv_L
251 #define CHEMV_V                 gotoblas -> chemv_V
252 #define CHEMV_M                 gotoblas -> chemv_M
253
254 #define CSYMV_THREAD_U          csymv_thread_U
255 #define CSYMV_THREAD_L          csymv_thread_L
256 #define CHEMV_THREAD_U          chemv_thread_U
257 #define CHEMV_THREAD_L          chemv_thread_L
258 #define CHEMV_THREAD_V          chemv_thread_V
259 #define CHEMV_THREAD_M          chemv_thread_M
260
261 #define CGEMM_ONCOPY            gotoblas -> cgemm_oncopy
262 #define CGEMM_OTCOPY            gotoblas -> cgemm_otcopy
263 #define CGEMM_INCOPY            gotoblas -> cgemm_incopy
264 #define CGEMM_ITCOPY            gotoblas -> cgemm_itcopy
265
266 #define CTRMM_OUNUCOPY          gotoblas -> ctrmm_ounucopy
267 #define CTRMM_OUTUCOPY          gotoblas -> ctrmm_outucopy
268 #define CTRMM_OLNUCOPY          gotoblas -> ctrmm_olnucopy
269 #define CTRMM_OLTUCOPY          gotoblas -> ctrmm_oltucopy
270 #define CTRSM_OUNUCOPY          gotoblas -> ctrsm_ounucopy
271 #define CTRSM_OUTUCOPY          gotoblas -> ctrsm_outucopy
272 #define CTRSM_OLNUCOPY          gotoblas -> ctrsm_olnucopy
273 #define CTRSM_OLTUCOPY          gotoblas -> ctrsm_oltucopy
274
275 #define CTRMM_IUNUCOPY          gotoblas -> ctrmm_iunucopy
276 #define CTRMM_IUTUCOPY          gotoblas -> ctrmm_iutucopy
277 #define CTRMM_ILNUCOPY          gotoblas -> ctrmm_ilnucopy
278 #define CTRMM_ILTUCOPY          gotoblas -> ctrmm_iltucopy
279 #define CTRSM_IUNUCOPY          gotoblas -> ctrsm_iunucopy
280 #define CTRSM_IUTUCOPY          gotoblas -> ctrsm_iutucopy
281 #define CTRSM_ILNUCOPY          gotoblas -> ctrsm_ilnucopy
282 #define CTRSM_ILTUCOPY          gotoblas -> ctrsm_iltucopy
283
284 #define CTRMM_OUNNCOPY          gotoblas -> ctrmm_ounncopy
285 #define CTRMM_OUTNCOPY          gotoblas -> ctrmm_outncopy
286 #define CTRMM_OLNNCOPY          gotoblas -> ctrmm_olnncopy
287 #define CTRMM_OLTNCOPY          gotoblas -> ctrmm_oltncopy
288 #define CTRSM_OUNNCOPY          gotoblas -> ctrsm_ounncopy
289 #define CTRSM_OUTNCOPY          gotoblas -> ctrsm_outncopy
290 #define CTRSM_OLNNCOPY          gotoblas -> ctrsm_olnncopy
291 #define CTRSM_OLTNCOPY          gotoblas -> ctrsm_oltncopy
292
293 #define CTRMM_IUNNCOPY          gotoblas -> ctrmm_iunncopy
294 #define CTRMM_IUTNCOPY          gotoblas -> ctrmm_iutncopy
295 #define CTRMM_ILNNCOPY          gotoblas -> ctrmm_ilnncopy
296 #define CTRMM_ILTNCOPY          gotoblas -> ctrmm_iltncopy
297 #define CTRSM_IUNNCOPY          gotoblas -> ctrsm_iunncopy
298 #define CTRSM_IUTNCOPY          gotoblas -> ctrsm_iutncopy
299 #define CTRSM_ILNNCOPY          gotoblas -> ctrsm_ilnncopy
300 #define CTRSM_ILTNCOPY          gotoblas -> ctrsm_iltncopy
301
302 #define CGEMM_BETA              gotoblas -> cgemm_beta
303 #define CGEMM_KERNEL_N          gotoblas -> cgemm_kernel_n
304 #define CGEMM_KERNEL_L          gotoblas -> cgemm_kernel_l
305 #define CGEMM_KERNEL_R          gotoblas -> cgemm_kernel_r
306 #define CGEMM_KERNEL_B          gotoblas -> cgemm_kernel_b
307
308 #define CTRMM_KERNEL_LN         gotoblas -> ctrmm_kernel_LN
309 #define CTRMM_KERNEL_LT         gotoblas -> ctrmm_kernel_LT
310 #define CTRMM_KERNEL_LR         gotoblas -> ctrmm_kernel_LR
311 #define CTRMM_KERNEL_LC         gotoblas -> ctrmm_kernel_LC
312 #define CTRMM_KERNEL_RN         gotoblas -> ctrmm_kernel_RN
313 #define CTRMM_KERNEL_RT         gotoblas -> ctrmm_kernel_RT
314 #define CTRMM_KERNEL_RR         gotoblas -> ctrmm_kernel_RR
315 #define CTRMM_KERNEL_RC         gotoblas -> ctrmm_kernel_RC
316
317 #define CTRSM_KERNEL_LN         gotoblas -> ctrsm_kernel_LN
318 #define CTRSM_KERNEL_LT         gotoblas -> ctrsm_kernel_LT
319 #define CTRSM_KERNEL_LR         gotoblas -> ctrsm_kernel_LR
320 #define CTRSM_KERNEL_LC         gotoblas -> ctrsm_kernel_LC
321 #define CTRSM_KERNEL_RN         gotoblas -> ctrsm_kernel_RN
322 #define CTRSM_KERNEL_RT         gotoblas -> ctrsm_kernel_RT
323 #define CTRSM_KERNEL_RR         gotoblas -> ctrsm_kernel_RR
324 #define CTRSM_KERNEL_RC         gotoblas -> ctrsm_kernel_RC
325
326 #define CSYMM_IUTCOPY           gotoblas -> csymm_iutcopy
327 #define CSYMM_ILTCOPY           gotoblas -> csymm_iltcopy
328 #define CSYMM_OUTCOPY           gotoblas -> csymm_outcopy
329 #define CSYMM_OLTCOPY           gotoblas -> csymm_oltcopy
330
331 #define CHEMM_OUTCOPY           gotoblas -> chemm_outcopy
332 #define CHEMM_OLTCOPY           gotoblas -> chemm_oltcopy
333 #define CHEMM_IUTCOPY           gotoblas -> chemm_iutcopy
334 #define CHEMM_ILTCOPY           gotoblas -> chemm_iltcopy
335
336 #define CGEMM3M_ONCOPYB         gotoblas -> cgemm3m_oncopyb
337 #define CGEMM3M_ONCOPYR         gotoblas -> cgemm3m_oncopyr
338 #define CGEMM3M_ONCOPYI         gotoblas -> cgemm3m_oncopyi
339 #define CGEMM3M_OTCOPYB         gotoblas -> cgemm3m_otcopyb
340 #define CGEMM3M_OTCOPYR         gotoblas -> cgemm3m_otcopyr
341 #define CGEMM3M_OTCOPYI         gotoblas -> cgemm3m_otcopyi
342
343 #define CGEMM3M_INCOPYB         gotoblas -> cgemm3m_incopyb
344 #define CGEMM3M_INCOPYR         gotoblas -> cgemm3m_incopyr
345 #define CGEMM3M_INCOPYI         gotoblas -> cgemm3m_incopyi
346 #define CGEMM3M_ITCOPYB         gotoblas -> cgemm3m_itcopyb
347 #define CGEMM3M_ITCOPYR         gotoblas -> cgemm3m_itcopyr
348 #define CGEMM3M_ITCOPYI         gotoblas -> cgemm3m_itcopyi
349
350 #define CSYMM3M_ILCOPYB         gotoblas -> csymm3m_ilcopyb
351 #define CSYMM3M_IUCOPYB         gotoblas -> csymm3m_iucopyb
352 #define CSYMM3M_ILCOPYR         gotoblas -> csymm3m_ilcopyr
353 #define CSYMM3M_IUCOPYR         gotoblas -> csymm3m_iucopyr
354 #define CSYMM3M_ILCOPYI         gotoblas -> csymm3m_ilcopyi
355 #define CSYMM3M_IUCOPYI         gotoblas -> csymm3m_iucopyi
356
357 #define CSYMM3M_OLCOPYB         gotoblas -> csymm3m_olcopyb
358 #define CSYMM3M_OUCOPYB         gotoblas -> csymm3m_oucopyb
359 #define CSYMM3M_OLCOPYR         gotoblas -> csymm3m_olcopyr
360 #define CSYMM3M_OUCOPYR         gotoblas -> csymm3m_oucopyr
361 #define CSYMM3M_OLCOPYI         gotoblas -> csymm3m_olcopyi
362 #define CSYMM3M_OUCOPYI         gotoblas -> csymm3m_oucopyi
363
364 #define CHEMM3M_ILCOPYB         gotoblas -> chemm3m_ilcopyb
365 #define CHEMM3M_IUCOPYB         gotoblas -> chemm3m_iucopyb
366 #define CHEMM3M_ILCOPYR         gotoblas -> chemm3m_ilcopyr
367 #define CHEMM3M_IUCOPYR         gotoblas -> chemm3m_iucopyr
368 #define CHEMM3M_ILCOPYI         gotoblas -> chemm3m_ilcopyi
369 #define CHEMM3M_IUCOPYI         gotoblas -> chemm3m_iucopyi
370
371 #define CHEMM3M_OLCOPYB         gotoblas -> chemm3m_olcopyb
372 #define CHEMM3M_OUCOPYB         gotoblas -> chemm3m_oucopyb
373 #define CHEMM3M_OLCOPYR         gotoblas -> chemm3m_olcopyr
374 #define CHEMM3M_OUCOPYR         gotoblas -> chemm3m_oucopyr
375 #define CHEMM3M_OLCOPYI         gotoblas -> chemm3m_olcopyi
376 #define CHEMM3M_OUCOPYI         gotoblas -> chemm3m_oucopyi
377
378 #define CGEMM3M_KERNEL          gotoblas -> cgemm3m_kernel
379
380 #define CNEG_TCOPY              gotoblas -> cneg_tcopy
381 #define CLASWP_NCOPY            gotoblas -> claswp_ncopy
382
383 #endif
384
385 #define CGEMM_NN                cgemm_nn
386 #define CGEMM_CN                cgemm_cn
387 #define CGEMM_TN                cgemm_tn
388 #define CGEMM_NC                cgemm_nc
389 #define CGEMM_NT                cgemm_nt
390 #define CGEMM_CC                cgemm_cc
391 #define CGEMM_CT                cgemm_ct
392 #define CGEMM_TC                cgemm_tc
393 #define CGEMM_TT                cgemm_tt
394 #define CGEMM_NR                cgemm_nr
395 #define CGEMM_TR                cgemm_tr
396 #define CGEMM_CR                cgemm_cr
397 #define CGEMM_RN                cgemm_rn
398 #define CGEMM_RT                cgemm_rt
399 #define CGEMM_RC                cgemm_rc
400 #define CGEMM_RR                cgemm_rr
401
402 #define CSYMM_LU                csymm_LU
403 #define CSYMM_LL                csymm_LL
404 #define CSYMM_RU                csymm_RU
405 #define CSYMM_RL                csymm_RL
406
407 #define CHEMM_LU                chemm_LU
408 #define CHEMM_LL                chemm_LL
409 #define CHEMM_RU                chemm_RU
410 #define CHEMM_RL                chemm_RL
411
412 #define CSYRK_UN                csyrk_UN
413 #define CSYRK_UT                csyrk_UT
414 #define CSYRK_LN                csyrk_LN
415 #define CSYRK_LT                csyrk_LT
416 #define CSYRK_UR                csyrk_UN
417 #define CSYRK_UC                csyrk_UT
418 #define CSYRK_LR                csyrk_LN
419 #define CSYRK_LC                csyrk_LT
420
421 #define CSYRK_KERNEL_U          csyrk_kernel_U
422 #define CSYRK_KERNEL_L          csyrk_kernel_L
423
424 #define CHERK_UN                cherk_UN
425 #define CHERK_LN                cherk_LN
426 #define CHERK_UC                cherk_UC
427 #define CHERK_LC                cherk_LC
428
429 #define CHER2K_UN               cher2k_UN
430 #define CHER2K_LN               cher2k_LN
431 #define CHER2K_UC               cher2k_UC
432 #define CHER2K_LC               cher2k_LC
433
434 #define CSYR2K_UN               csyr2k_UN
435 #define CSYR2K_UT               csyr2k_UT
436 #define CSYR2K_LN               csyr2k_LN
437 #define CSYR2K_LT               csyr2k_LT
438 #define CSYR2K_UR               csyr2k_UN
439 #define CSYR2K_UC               csyr2k_UT
440 #define CSYR2K_LR               csyr2k_LN
441 #define CSYR2K_LC               csyr2k_LT
442
443 #define CSYR2K_KERNEL_U         csyr2k_kernel_U
444 #define CSYR2K_KERNEL_L         csyr2k_kernel_L
445
446 #define CTRMM_LNUU              ctrmm_LNUU
447 #define CTRMM_LNUN              ctrmm_LNUN
448 #define CTRMM_LNLU              ctrmm_LNLU
449 #define CTRMM_LNLN              ctrmm_LNLN
450 #define CTRMM_LTUU              ctrmm_LTUU
451 #define CTRMM_LTUN              ctrmm_LTUN
452 #define CTRMM_LTLU              ctrmm_LTLU
453 #define CTRMM_LTLN              ctrmm_LTLN
454 #define CTRMM_LRUU              ctrmm_LRUU
455 #define CTRMM_LRUN              ctrmm_LRUN
456 #define CTRMM_LRLU              ctrmm_LRLU
457 #define CTRMM_LRLN              ctrmm_LRLN
458 #define CTRMM_LCUU              ctrmm_LCUU
459 #define CTRMM_LCUN              ctrmm_LCUN
460 #define CTRMM_LCLU              ctrmm_LCLU
461 #define CTRMM_LCLN              ctrmm_LCLN
462 #define CTRMM_RNUU              ctrmm_RNUU
463 #define CTRMM_RNUN              ctrmm_RNUN
464 #define CTRMM_RNLU              ctrmm_RNLU
465 #define CTRMM_RNLN              ctrmm_RNLN
466 #define CTRMM_RTUU              ctrmm_RTUU
467 #define CTRMM_RTUN              ctrmm_RTUN
468 #define CTRMM_RTLU              ctrmm_RTLU
469 #define CTRMM_RTLN              ctrmm_RTLN
470 #define CTRMM_RRUU              ctrmm_RRUU
471 #define CTRMM_RRUN              ctrmm_RRUN
472 #define CTRMM_RRLU              ctrmm_RRLU
473 #define CTRMM_RRLN              ctrmm_RRLN
474 #define CTRMM_RCUU              ctrmm_RCUU
475 #define CTRMM_RCUN              ctrmm_RCUN
476 #define CTRMM_RCLU              ctrmm_RCLU
477 #define CTRMM_RCLN              ctrmm_RCLN
478
479 #define CTRSM_LNUU              ctrsm_LNUU
480 #define CTRSM_LNUN              ctrsm_LNUN
481 #define CTRSM_LNLU              ctrsm_LNLU
482 #define CTRSM_LNLN              ctrsm_LNLN
483 #define CTRSM_LTUU              ctrsm_LTUU
484 #define CTRSM_LTUN              ctrsm_LTUN
485 #define CTRSM_LTLU              ctrsm_LTLU
486 #define CTRSM_LTLN              ctrsm_LTLN
487 #define CTRSM_LRUU              ctrsm_LRUU
488 #define CTRSM_LRUN              ctrsm_LRUN
489 #define CTRSM_LRLU              ctrsm_LRLU
490 #define CTRSM_LRLN              ctrsm_LRLN
491 #define CTRSM_LCUU              ctrsm_LCUU
492 #define CTRSM_LCUN              ctrsm_LCUN
493 #define CTRSM_LCLU              ctrsm_LCLU
494 #define CTRSM_LCLN              ctrsm_LCLN
495 #define CTRSM_RNUU              ctrsm_RNUU
496 #define CTRSM_RNUN              ctrsm_RNUN
497 #define CTRSM_RNLU              ctrsm_RNLU
498 #define CTRSM_RNLN              ctrsm_RNLN
499 #define CTRSM_RTUU              ctrsm_RTUU
500 #define CTRSM_RTUN              ctrsm_RTUN
501 #define CTRSM_RTLU              ctrsm_RTLU
502 #define CTRSM_RTLN              ctrsm_RTLN
503 #define CTRSM_RRUU              ctrsm_RRUU
504 #define CTRSM_RRUN              ctrsm_RRUN
505 #define CTRSM_RRLU              ctrsm_RRLU
506 #define CTRSM_RRLN              ctrsm_RRLN
507 #define CTRSM_RCUU              ctrsm_RCUU
508 #define CTRSM_RCUN              ctrsm_RCUN
509 #define CTRSM_RCLU              ctrsm_RCLU
510 #define CTRSM_RCLN              ctrsm_RCLN
511
512 #define CGEMM_THREAD_NN         cgemm_thread_nn
513 #define CGEMM_THREAD_CN         cgemm_thread_cn
514 #define CGEMM_THREAD_TN         cgemm_thread_tn
515 #define CGEMM_THREAD_NC         cgemm_thread_nc
516 #define CGEMM_THREAD_NT         cgemm_thread_nt
517 #define CGEMM_THREAD_CC         cgemm_thread_cc
518 #define CGEMM_THREAD_CT         cgemm_thread_ct
519 #define CGEMM_THREAD_TC         cgemm_thread_tc
520 #define CGEMM_THREAD_TT         cgemm_thread_tt
521 #define CGEMM_THREAD_NR         cgemm_thread_nr
522 #define CGEMM_THREAD_TR         cgemm_thread_tr
523 #define CGEMM_THREAD_CR         cgemm_thread_cr
524 #define CGEMM_THREAD_RN         cgemm_thread_rn
525 #define CGEMM_THREAD_RT         cgemm_thread_rt
526 #define CGEMM_THREAD_RC         cgemm_thread_rc
527 #define CGEMM_THREAD_RR         cgemm_thread_rr
528
529 #define CSYMM_THREAD_LU         csymm_thread_LU
530 #define CSYMM_THREAD_LL         csymm_thread_LL
531 #define CSYMM_THREAD_RU         csymm_thread_RU
532 #define CSYMM_THREAD_RL         csymm_thread_RL
533
534 #define CHEMM_THREAD_LU         chemm_thread_LU
535 #define CHEMM_THREAD_LL         chemm_thread_LL
536 #define CHEMM_THREAD_RU         chemm_thread_RU
537 #define CHEMM_THREAD_RL         chemm_thread_RL
538
539 #define CSYRK_THREAD_UN         csyrk_thread_UN
540 #define CSYRK_THREAD_UT         csyrk_thread_UT
541 #define CSYRK_THREAD_LN         csyrk_thread_LN
542 #define CSYRK_THREAD_LT         csyrk_thread_LT
543 #define CSYRK_THREAD_UR         csyrk_thread_UN
544 #define CSYRK_THREAD_UC         csyrk_thread_UT
545 #define CSYRK_THREAD_LR         csyrk_thread_LN
546 #define CSYRK_THREAD_LC         csyrk_thread_LT
547
548 #define CHERK_THREAD_UN         cherk_thread_UN
549 #define CHERK_THREAD_UT         cherk_thread_UT
550 #define CHERK_THREAD_LN         cherk_thread_LN
551 #define CHERK_THREAD_LT         cherk_thread_LT
552 #define CHERK_THREAD_UR         cherk_thread_UR
553 #define CHERK_THREAD_UC         cherk_thread_UC
554 #define CHERK_THREAD_LR         cherk_thread_LR
555 #define CHERK_THREAD_LC         cherk_thread_LC
556
557 #define CGEMM3M_NN              cgemm3m_nn
558 #define CGEMM3M_CN              cgemm3m_cn
559 #define CGEMM3M_TN              cgemm3m_tn
560 #define CGEMM3M_NC              cgemm3m_nc
561 #define CGEMM3M_NT              cgemm3m_nt
562 #define CGEMM3M_CC              cgemm3m_cc
563 #define CGEMM3M_CT              cgemm3m_ct
564 #define CGEMM3M_TC              cgemm3m_tc
565 #define CGEMM3M_TT              cgemm3m_tt
566 #define CGEMM3M_NR              cgemm3m_nr
567 #define CGEMM3M_TR              cgemm3m_tr
568 #define CGEMM3M_CR              cgemm3m_cr
569 #define CGEMM3M_RN              cgemm3m_rn
570 #define CGEMM3M_RT              cgemm3m_rt
571 #define CGEMM3M_RC              cgemm3m_rc
572 #define CGEMM3M_RR              cgemm3m_rr
573
574 #define CGEMM3M_THREAD_NN       cgemm3m_thread_nn
575 #define CGEMM3M_THREAD_CN       cgemm3m_thread_cn
576 #define CGEMM3M_THREAD_TN       cgemm3m_thread_tn
577 #define CGEMM3M_THREAD_NC       cgemm3m_thread_nc
578 #define CGEMM3M_THREAD_NT       cgemm3m_thread_nt
579 #define CGEMM3M_THREAD_CC       cgemm3m_thread_cc
580 #define CGEMM3M_THREAD_CT       cgemm3m_thread_ct
581 #define CGEMM3M_THREAD_TC       cgemm3m_thread_tc
582 #define CGEMM3M_THREAD_TT       cgemm3m_thread_tt
583 #define CGEMM3M_THREAD_NR       cgemm3m_thread_nr
584 #define CGEMM3M_THREAD_TR       cgemm3m_thread_tr
585 #define CGEMM3M_THREAD_CR       cgemm3m_thread_cr
586 #define CGEMM3M_THREAD_RN       cgemm3m_thread_rn
587 #define CGEMM3M_THREAD_RT       cgemm3m_thread_rt
588 #define CGEMM3M_THREAD_RC       cgemm3m_thread_rc
589 #define CGEMM3M_THREAD_RR       cgemm3m_thread_rr
590
591 #define CSYMM3M_LU              csymm3m_LU
592 #define CSYMM3M_LL              csymm3m_LL
593 #define CSYMM3M_RU              csymm3m_RU
594 #define CSYMM3M_RL              csymm3m_RL
595
596 #define CSYMM3M_THREAD_LU       csymm3m_thread_LU
597 #define CSYMM3M_THREAD_LL       csymm3m_thread_LL
598 #define CSYMM3M_THREAD_RU       csymm3m_thread_RU
599 #define CSYMM3M_THREAD_RL       csymm3m_thread_RL
600
601 #define CHEMM3M_LU              chemm3m_LU
602 #define CHEMM3M_LL              chemm3m_LL
603 #define CHEMM3M_RU              chemm3m_RU
604 #define CHEMM3M_RL              chemm3m_RL
605
606 #define CHEMM3M_THREAD_LU       chemm3m_thread_LU
607 #define CHEMM3M_THREAD_LL       chemm3m_thread_LL
608 #define CHEMM3M_THREAD_RU       chemm3m_thread_RU
609 #define CHEMM3M_THREAD_RL       chemm3m_thread_RL
610
611 #endif