27 {
28 char *sf = ( rout ) ;
29 double 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_dgemm" ,11)==0) {
50
53 ALPHA, A, 1, B, 1, BETA, C, 1 );
57 ALPHA, A, 1, B, 1, BETA, C, 1 );
61 ALPHA, A, 1, B, 1, BETA, C, 1 );
65 ALPHA, A, 1, B, 1, BETA, C, 1 );
69 ALPHA, A, 1, B, 1, BETA, C, 1 );
73 ALPHA, A, 1, B, 1, BETA, C, 1 );
77 ALPHA, A, 1, B, 1, BETA, C, 1 );
81 ALPHA, A, 1, B, 1, BETA, C, 1 );
85 ALPHA, A, 1, B, 1, BETA, C, 1 );
89 ALPHA, A, 1, B, 1, BETA, C, 1 );
93 ALPHA, A, 1, B, 1, BETA, C, 1 );
97 ALPHA, A, 1, B, 1, BETA, C, 1 );
101 ALPHA, A, 1, B, 1, BETA, C, 1 );
105 ALPHA, A, 1, B, 1, BETA, C, 1 );
109 ALPHA, A, 1, B, 1, BETA, C, 1 );
113 ALPHA, A, 1, B, 1, BETA, C, 1 );
117 ALPHA, A, 1, B, 1, BETA, C, 1 );
121 ALPHA, A, 1, B, 1, BETA, C, 1 );
125 ALPHA, A, 1, B, 1, BETA, C, 1 );
129 ALPHA, A, 1, B, 1, BETA, C, 1 );
133 ALPHA, A, 1, B, 1, BETA, C, 2 );
137 ALPHA, A, 1, B, 1, BETA, C, 2 );
141 ALPHA, A, 1, B, 2, BETA, C, 1 );
145 ALPHA, A, 1, B, 1, BETA, C, 1 );
149 ALPHA, A, 1, B, 1, BETA, C, 1 );
153 ALPHA, A, 2, B, 1, BETA, C, 1 );
157 ALPHA, A, 1, B, 1, BETA, C, 1 );
161 ALPHA, A, 1, B, 1, BETA, C, 1 );
165 ALPHA, A, 2, B, 1, BETA, C, 1 );
169 ALPHA, A, 2, B, 1, BETA, C, 1 );
173 ALPHA, A, 1, B, 1, BETA, C, 1 );
177 ALPHA, A, 1, B, 1, BETA, C, 1 );
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_dsymm" ,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 );
373 ALPHA, A, 1, B, 1, BETA, C, 1 );
377 ALPHA, A, 1, B, 1, BETA, C, 1 );
381 ALPHA, A, 1, B, 1, BETA, C, 1 );
385 ALPHA, A, 1, B, 1, BETA, C, 1 );
389 ALPHA, A, 1, B, 1, BETA, C, 1 );
393 ALPHA, A, 1, B, 1, BETA, C, 1 );
397 ALPHA, A, 1, B, 1, BETA, C, 1 );
401 ALPHA, A, 1, B, 1, BETA, C, 1 );
405 ALPHA, A, 1, B, 2, BETA, C, 2 );
409 ALPHA, A, 1, B, 1, BETA, C, 1 );
413 ALPHA, A, 1, B, 2, BETA, C, 2 );
417 ALPHA, A, 1, B, 1, BETA, C, 1 );
421 ALPHA, A, 2, B, 1, BETA, C, 1 );
425 ALPHA, A, 2, B, 1, BETA, C, 1 );
429 ALPHA, A, 2, B, 1, BETA, C, 1 );
433 ALPHA, A, 2, B, 1, BETA, C, 1 );
437 ALPHA, A, 1, B, 2, BETA, C, 1 );
441 ALPHA, A, 2, B, 2, BETA, C, 1 );
445 ALPHA, A, 1, B, 2, BETA, C, 1 );
449 ALPHA, A, 2, B, 2, BETA, C, 1 );
451
452 } else if (strncmp( sf,"cblas_dtrmm" ,11)==0) {
454
473 INVALID, 0, 0, ALPHA, A, 1, B, 1 );
731
732 } else if (strncmp( sf,"cblas_dtrsm" ,11)==0) {
734
753 INVALID, 0, 0, ALPHA, A, 1, B, 1 );
883
1012
1013 } else if (strncmp( sf,"cblas_dsyrk" ,11)==0) {
1015
1018 0, 0, ALPHA, A, 1, BETA, C, 1 );
1022 0, 0, ALPHA, A, 1, BETA, C, 1 );
1026 0, 0, ALPHA, A, 1, BETA, C, 1 );
1030 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1034 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1038 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1042 INVALID, 0, ALPHA, A, 1, BETA, C, 1 );
1046 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1050 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1054 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1058 0,
INVALID, ALPHA, A, 1, BETA, C, 1 );
1062 0, 2, ALPHA, A, 1, BETA, C, 2 );
1066 2, 0, ALPHA, A, 1, BETA, C, 1 );
1070 0, 2, ALPHA, A, 1, BETA, C, 2 );
1074 2, 0, ALPHA, A, 1, BETA, C, 1 );
1078 2, 0, ALPHA, A, 1, BETA, C, 2 );
1082 0, 2, ALPHA, A, 1, BETA, C, 1 );
1086 2, 0, ALPHA, A, 1, BETA, C, 2 );
1090 0, 2, ALPHA, A, 1, BETA, C, 1 );
1094 2, 0, ALPHA, A, 1, BETA, C, 1 );
1098 2, 0, ALPHA, A, 2, BETA, C, 1 );
1102 2, 0, ALPHA, A, 1, BETA, C, 1 );
1106 2, 0, ALPHA, A, 2, BETA, C, 1 );
1110 2, 0, ALPHA, A, 2, BETA, C, 1 );
1114 2, 0, ALPHA, A, 1, BETA, C, 1 );
1118 2, 0, ALPHA, A, 2, BETA, C, 1 );
1122 2, 0, ALPHA, A, 1, BETA, C, 1 );
1124
1125 } else if (strncmp( sf,"cblas_dsyr2k" ,12)==0) {
1127
1130 0, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1134 0, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1138 0, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1142 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1146 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1150 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1154 INVALID, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1158 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1162 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1166 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1170 0,
INVALID, ALPHA, A, 1, B, 1, BETA, C, 1 );
1174 0, 2, ALPHA, A, 1, B, 2, BETA, C, 2 );
1178 2, 0, ALPHA, A, 1, B, 2, BETA, C, 1 );
1182 0, 2, ALPHA, A, 1, B, 2, BETA, C, 2 );
1186 2, 0, ALPHA, A, 1, B, 2, BETA, C, 1 );
1190 2, 0, ALPHA, A, 1, B, 1, BETA, C, 2 );
1194 0, 2, ALPHA, A, 1, B, 1, BETA, C, 1 );
1198 2, 0, ALPHA, A, 1, B, 1, BETA, C, 2 );
1202 0, 2, ALPHA, A, 1, B, 1, BETA, C, 1 );
1206 0, 2, ALPHA, A, 2, B, 1, BETA, C, 2 );
1210 2, 0, ALPHA, A, 2, B, 1, BETA, C, 1 );
1214 0, 2, ALPHA, A, 2, B, 1, BETA, C, 2 );
1218 2, 0, ALPHA, A, 2, B, 1, BETA, C, 1 );
1222 2, 0, ALPHA, A, 2, B, 1, BETA, C, 2 );
1226 0, 2, ALPHA, A, 2, B, 1, BETA, C, 1 );
1230 2, 0, ALPHA, A, 2, B, 1, BETA, C, 2 );
1234 0, 2, ALPHA, A, 2, B, 1, BETA, C, 1 );
1238 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1242 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1246 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1250 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1254 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1258 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1262 2, 0, ALPHA, A, 2, B, 2, BETA, C, 1 );
1266 2, 0, ALPHA, A, 1, B, 1, BETA, C, 1 );
1268 }
1270 printf(
" %-12s PASSED THE TESTS OF ERROR-EXITS\n",
cblas_rout);
1271 else
1272 printf(
"***** %s FAILED THE TESTS OF ERROR-EXITS *******\n",
cblas_rout);
1273}
void cblas_dsymm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, const CBLAS_INT M, const CBLAS_INT N, const double alpha, const double *A, const CBLAS_INT lda, const double *B, const CBLAS_INT ldb, const double beta, double *C, const CBLAS_INT ldc)
void cblas_dtrsm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT M, const CBLAS_INT N, const double alpha, const double *A, const CBLAS_INT lda, double *B, const CBLAS_INT ldb)
void cblas_dtrmm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT M, const CBLAS_INT N, const double alpha, const double *A, const CBLAS_INT lda, double *B, const CBLAS_INT ldb)
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)
void cblas_dsyrk(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const double alpha, const double *A, const CBLAS_INT lda, const double beta, double *C, const CBLAS_INT ldc)
void cblas_dsyr2k(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const double alpha, const double *A, const CBLAS_INT lda, const double *B, const CBLAS_INT ldb, const double beta, double *C, const CBLAS_INT ldc)
void cblas_dgemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, CBLAS_TRANSPOSE TransB, const CBLAS_INT M, const CBLAS_INT N, const CBLAS_INT K, const double alpha, const double *A, const CBLAS_INT lda, const double *B, const CBLAS_INT ldb, const double beta, double *C, const CBLAS_INT ldc)