27 {
28 char *sf = ( rout ) ;
29 float A[2] = {0.0,0.0},
30 B[2] = {0.0,0.0},
31 C[2] = {0.0,0.0},
32 ALPHA=0.0, BETA=0.0;
36
37#ifndef HAS_ATTRIBUTE_WEAK_SUPPORT
39 {
42 }
43#endif
44
47
48 if (strncmp( sf,"cblas_sgemm" ,11)==0) {
52 ALPHA, A, 1, B, 1, BETA, C, 1 );
56 ALPHA, A, 1, B, 1, BETA, C, 1 );
60 ALPHA, A, 1, B, 1, BETA, C, 1 );
64 ALPHA, A, 1, B, 1, BETA, C, 1 );
68 ALPHA, A, 1, B, 1, BETA, C, 1 );
72 ALPHA, A, 1, B, 1, BETA, C, 1 );
76 ALPHA, A, 1, B, 1, BETA, C, 1 );
80 ALPHA, A, 1, B, 1, BETA, C, 1 );
84 ALPHA, A, 1, B, 1, BETA, C, 1 );
88 ALPHA, A, 1, B, 1, BETA, C, 1 );
92 ALPHA, A, 1, B, 1, BETA, C, 1 );
96 ALPHA, A, 1, B, 1, BETA, C, 1 );
100 ALPHA, A, 1, B, 1, BETA, C, 1 );
104 ALPHA, A, 1, B, 1, BETA, C, 1 );
108 ALPHA, A, 1, B, 1, BETA, C, 1 );
112 ALPHA, A, 1, B, 1, BETA, C, 1 );
116 ALPHA, A, 1, B, 1, BETA, C, 1 );
120 ALPHA, A, 1, B, 1, BETA, C, 1 );
124 ALPHA, A, 1, B, 1, BETA, C, 1 );
128 ALPHA, A, 1, B, 1, BETA, C, 1 );
132 ALPHA, A, 1, B, 1, BETA, C, 2 );
136 ALPHA, A, 1, B, 1, BETA, C, 2 );
140 ALPHA, A, 1, B, 2, BETA, C, 1 );
144 ALPHA, A, 1, B, 1, BETA, C, 1 );
148 ALPHA, A, 1, B, 1, BETA, C, 1 );
152 ALPHA, A, 2, B, 1, BETA, C, 1 );
156 ALPHA, A, 1, B, 1, BETA, C, 1 );
160 ALPHA, A, 1, B, 1, BETA, C, 1 );
164 ALPHA, A, 2, B, 1, BETA, C, 1 );
168 ALPHA, A, 2, B, 1, BETA, C, 1 );
172 ALPHA, A, 1, B, 1, BETA, C, 1 );
176 ALPHA, A, 1, B, 1, BETA, C, 1 );
178
181 ALPHA, A, 1, B, 1, BETA, C, 1 );
185 ALPHA, A, 1, B, 1, BETA, C, 1 );
189 ALPHA, A, 1, B, 1, BETA, C, 1 );
193 ALPHA, A, 1, B, 1, BETA, C, 1 );
197 ALPHA, A, 1, B, 1, BETA, C, 1 );
201 ALPHA, A, 1, B, 1, BETA, C, 1 );
205 ALPHA, A, 1, B, 1, BETA, C, 1 );
209 ALPHA, A, 1, B, 1, BETA, C, 1 );
213 ALPHA, A, 1, B, 1, BETA, C, 1 );
217 ALPHA, A, 1, B, 1, BETA, C, 1 );
221 ALPHA, A, 1, B, 1, BETA, C, 1 );
225 ALPHA, A, 1, B, 1, BETA, C, 1 );
229 ALPHA, A, 1, B, 1, BETA, C, 2 );
233 ALPHA, A, 1, B, 2, BETA, C, 2 );
237 ALPHA, A, 1, B, 2, BETA, C, 1 );
241 ALPHA, A, 1, B, 1, BETA, C, 1 );
245 ALPHA, A, 1, B, 1, BETA, C, 1 );
249 ALPHA, A, 2, B, 1, BETA, C, 1 );
253 ALPHA, A, 2, B, 1, BETA, C, 1 );
257 ALPHA, A, 1, B, 1, BETA, C, 1 );
261 ALPHA, A, 1, B, 2, BETA, C, 1 );
265 ALPHA, A, 1, B, 1, BETA, C, 1 );
269 ALPHA, A, 1, B, 2, BETA, C, 1 );
273 ALPHA, A, 1, B, 1, BETA, C, 1 );
275
276 } else if (strncmp( sf,"cblas_ssymm" ,11)==0) {
278
281 ALPHA, A, 1, B, 1, BETA, C, 1 );
285 ALPHA, A, 1, B, 1, BETA, C, 1 );
289 ALPHA, A, 1, B, 1, BETA, C, 1 );
293 ALPHA, A, 1, B, 1, BETA, C, 1 );
297 ALPHA, A, 1, B, 1, BETA, C, 1 );
301 ALPHA, A, 1, B, 1, BETA, C, 1 );
305 ALPHA, A, 1, B, 1, BETA, C, 1 );
309 ALPHA, A, 1, B, 1, BETA, C, 1 );
313 ALPHA, A, 1, B, 1, BETA, C, 1 );
317 ALPHA, A, 1, B, 1, BETA, C, 1 );
321 ALPHA, A, 1, B, 1, BETA, C, 1 );
325 ALPHA, A, 1, B, 2, BETA, C, 2 );
329 ALPHA, A, 1, B, 1, BETA, C, 1 );
333 ALPHA, A, 1, B, 2, BETA, C, 2 );
337 ALPHA, A, 1, B, 1, BETA, C, 1 );
341 ALPHA, A, 2, B, 1, BETA, C, 1 );
345 ALPHA, A, 1, B, 1, BETA, C, 1 );
349 ALPHA, A, 2, B, 1, BETA, C, 1 );
353 ALPHA, A, 1, B, 1, BETA, C, 1 );
357 ALPHA, A, 2, B, 2, BETA, C, 1 );
361 ALPHA, A, 1, B, 2, BETA, C, 1 );
365 ALPHA, A, 2, B, 2, BETA, C, 1 );
369 ALPHA, A, 1, B, 2, BETA, C, 1 );
371
374 ALPHA, A, 1, B, 1, BETA, C, 1 );
378 ALPHA, A, 1, B, 1, BETA, C, 1 );
382 ALPHA, A, 1, B, 1, BETA, C, 1 );
386 ALPHA, A, 1, B, 1, BETA, C, 1 );
390 ALPHA, A, 1, B, 1, BETA, C, 1 );
394 ALPHA, A, 1, B, 1, BETA, C, 1 );
398 ALPHA, A, 1, B, 1, BETA, C, 1 );
402 ALPHA, A, 1, B, 1, BETA, C, 1 );
406 ALPHA, A, 1, B, 2, BETA, C, 2 );
410 ALPHA, A, 1, B, 1, BETA, C, 1 );
414 ALPHA, A, 1, B, 2, BETA, C, 2 );
418 ALPHA, A, 1, B, 1, BETA, C, 1 );
422 ALPHA, A, 2, B, 1, BETA, C, 1 );
426 ALPHA, A, 2, B, 1, BETA, C, 1 );
430 ALPHA, A, 2, B, 1, BETA, C, 1 );
434 ALPHA, A, 2, B, 1, BETA, C, 1 );
438 ALPHA, A, 1, B, 2, BETA, C, 1 );
442 ALPHA, A, 2, B, 2, BETA, C, 1 );
446 ALPHA, A, 1, B, 2, BETA, C, 1 );
450 ALPHA, A, 2, B, 2, BETA, C, 1 );
452
453 } else if (strncmp( sf,"cblas_strmm" ,11)==0) {
455
474 INVALID, 0, 0, ALPHA, A, 1, B, 1 );
604
733
734 } else if (strncmp( sf,"cblas_strsm" ,11)==0) {
736
755 INVALID, 0, 0, ALPHA, A, 1, B, 1 );
885
1014
1015 } else if (strncmp( sf,"cblas_ssyrk" ,11)==0) {
1017
1020 0, 0, ALPHA, A, 1, BETA, C, 1 );
1024 0, 0, ALPHA, A, 1, BETA, C, 1 );
1028 0, 0, ALPHA, A, 1, BETA, C, 1 );
1032 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1036 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1040 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1044 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1048 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1052 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1056 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1060 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1064 0, 2, ALPHA, A, 1, BETA, C, 2 );
1068 2, 0, ALPHA, A, 1, BETA, C, 1 );
1072 0, 2, ALPHA, A, 1, BETA, C, 2 );
1076 2, 0, ALPHA, A, 1, BETA, C, 1 );
1080 2, 0, ALPHA, A, 1, BETA, C, 2 );
1084 0, 2, ALPHA, A, 1, BETA, C, 1 );
1088 2, 0, ALPHA, A, 1, BETA, C, 2 );
1092 0, 2, ALPHA, A, 1, BETA, C, 1 );
1096 2, 0, ALPHA, A, 1, BETA, C, 1 );
1100 2, 0, ALPHA, A, 2, BETA, C, 1 );
1104 2, 0, ALPHA, A, 1, BETA, C, 1 );
1108 2, 0, ALPHA, A, 2, BETA, C, 1 );
1112 2, 0, ALPHA, A, 2, BETA, C, 1 );
1116 2, 0, ALPHA, A, 1, BETA, C, 1 );
1120 2, 0, ALPHA, A, 2, BETA, C, 1 );
1124 2, 0, ALPHA, A, 1, BETA, C, 1 );
1126
1127 } else if (strncmp( sf,"cblas_ssyr2k" ,12)==0) {
1129
1132 0, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1136 0, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1140 0, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1144 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1148 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1152 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1156 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1160 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1164 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1168 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1172 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1176 0, 2, ALPHA, A, 1, B, 2, BETA, C, 2 );
1180 2, 0, ALPHA, A, 1, B, 2, BETA, C, 1 );
1184 0, 2, ALPHA, A, 1, B, 2, BETA, C, 2 );
1188 2, 0, ALPHA, A, 1, B, 2, BETA, C, 1 );
1192 2, 0, ALPHA, A, 1, B, 1, BETA, C, 2 );
1196 0, 2, ALPHA, A, 1, B, 1, BETA, C, 1 );
1200 2, 0, ALPHA, A, 1, B, 1, BETA, C, 2 );
1204 0, 2, ALPHA, A, 1, B, 1, BETA, C, 1 );
1208 0, 2, ALPHA, A, 2, B, 1, BETA, C, 2 );
1212 2, 0, ALPHA, A, 2, B, 1, BETA, C, 1 );
1216 0, 2, ALPHA, A, 2, B, 1, BETA, C, 2 );
1220 2, 0, ALPHA, A, 2, B, 1, BETA, C, 1 );
1224 2, 0, ALPHA, A, 2, B, 1, BETA, C, 2 );
1228 0, 2, ALPHA, A, 2, B, 1, BETA, C, 1 );
1232 2, 0, ALPHA, A, 2, B, 1, BETA, C, 2 );
1236 0, 2, ALPHA, A, 2, B, 1, BETA, C, 1 );
1240 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1244 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1248 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1252 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1256 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1260 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1264 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1268 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1270 }
1272 printf(
" %-12s PASSED THE TESTS OF ERROR-EXITS\n",
cblas_rout);
1273 else
1274 printf(
"***** %s FAILED THE TESTS OF ERROR-EXITS *******\n",
cblas_rout);
1275}
void cblas_ssyrk(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const float alpha, const float *A, const CBLAS_INT lda, const float beta, float *C, const CBLAS_INT ldc)
void cblas_sgemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, CBLAS_TRANSPOSE TransB, const CBLAS_INT M, const CBLAS_INT N, const CBLAS_INT K, const float alpha, const float *A, const CBLAS_INT lda, const float *B, const CBLAS_INT ldb, const float beta, float *C, const CBLAS_INT ldc)
void cblas_strsm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT M, const CBLAS_INT N, const float alpha, const float *A, const CBLAS_INT lda, float *B, const CBLAS_INT ldb)
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)
void cblas_ssymm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, const CBLAS_INT M, const CBLAS_INT N, const float alpha, const float *A, const CBLAS_INT lda, const float *B, const CBLAS_INT ldb, const float beta, float *C, const CBLAS_INT ldc)
void cblas_strmm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT M, const CBLAS_INT N, const float alpha, const float *A, const CBLAS_INT lda, float *B, const CBLAS_INT ldb)
void cblas_ssyr2k(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const float alpha, const float *A, const CBLAS_INT lda, const float *B, const CBLAS_INT ldb, const float beta, float *C, const CBLAS_INT ldc)