27 {
28 char *sf = ( rout ) ;
29 double A[4] = {0.0,0.0,0.0,0.0},
30 B[4] = {0.0,0.0,0.0,0.0},
31 C[4] = {0.0,0.0,0.0,0.0},
32 ALPHA[2] = {0.0,0.0},
33 BETA[2] = {0.0,0.0},
34 RALPHA = 0.0, RBETA = 0.0;
38
41
42#ifndef HAS_ATTRIBUTE_WEAK_SUPPORT
44 {
47 }
48#endif
49
50 if (strncmp( sf,"cblas_zgemm" ,11)==0) {
52
55 ALPHA, A, 1, B, 1, BETA, C, 1 );
59 ALPHA, A, 1, B, 1, BETA, C, 1 );
63 ALPHA, A, 1, B, 1, BETA, C, 1 );
67 ALPHA, A, 1, B, 1, BETA, C, 1 );
71 ALPHA, A, 1, B, 1, BETA, C, 1 );
75 ALPHA, A, 1, B, 1, BETA, C, 1 );
79 ALPHA, A, 1, B, 1, BETA, C, 1 );
83 ALPHA, A, 1, B, 1, BETA, C, 1 );
87 ALPHA, A, 1, B, 1, BETA, C, 1 );
91 ALPHA, A, 1, B, 1, BETA, C, 1 );
95 ALPHA, A, 1, B, 1, BETA, C, 1 );
99 ALPHA, A, 1, B, 1, BETA, C, 1 );
103 ALPHA, A, 1, B, 1, BETA, C, 1 );
107 ALPHA, A, 1, B, 1, BETA, C, 1 );
111 ALPHA, A, 1, B, 1, BETA, C, 1 );
115 ALPHA, A, 1, B, 1, BETA, C, 1 );
119 ALPHA, A, 1, B, 1, BETA, C, 1 );
123 ALPHA, A, 1, B, 1, BETA, C, 1 );
127 ALPHA, A, 1, B, 1, BETA, C, 1 );
131 ALPHA, A, 1, B, 1, BETA, C, 1 );
135 ALPHA, A, 1, B, 1, BETA, C, 2 );
139 ALPHA, A, 1, B, 1, BETA, C, 2 );
143 ALPHA, A, 1, B, 2, BETA, C, 1 );
147 ALPHA, A, 1, B, 1, BETA, C, 1 );
151 ALPHA, A, 1, B, 1, BETA, C, 1 );
155 ALPHA, A, 2, B, 1, BETA, C, 1 );
159 ALPHA, A, 1, B, 1, BETA, C, 1 );
163 ALPHA, A, 1, B, 1, BETA, C, 1 );
167 ALPHA, A, 2, B, 1, BETA, C, 1 );
171 ALPHA, A, 2, B, 1, BETA, C, 1 );
175 ALPHA, A, 1, B, 1, BETA, C, 1 );
179 ALPHA, A, 1, B, 1, BETA, C, 1 );
183 ALPHA, A, 1, B, 1, BETA, C, 1 );
187 ALPHA, A, 1, B, 1, BETA, C, 1 );
191 ALPHA, A, 1, B, 1, BETA, C, 1 );
195 ALPHA, A, 1, B, 1, BETA, C, 1 );
199 ALPHA, A, 1, B, 1, BETA, C, 1 );
203 ALPHA, A, 1, B, 1, BETA, C, 1 );
207 ALPHA, A, 1, B, 1, BETA, C, 1 );
211 ALPHA, A, 1, B, 1, BETA, C, 1 );
215 ALPHA, A, 1, B, 1, BETA, C, 1 );
219 ALPHA, A, 1, B, 1, BETA, C, 1 );
223 ALPHA, A, 1, B, 1, BETA, C, 1 );
227 ALPHA, A, 1, B, 1, BETA, C, 1 );
231 ALPHA, A, 1, B, 1, BETA, C, 2 );
235 ALPHA, A, 1, B, 2, BETA, C, 2 );
239 ALPHA, A, 1, B, 2, BETA, C, 1 );
243 ALPHA, A, 1, B, 1, BETA, C, 1 );
247 ALPHA, A, 1, B, 1, BETA, C, 1 );
251 ALPHA, A, 2, B, 1, BETA, C, 1 );
255 ALPHA, A, 2, B, 1, BETA, C, 1 );
259 ALPHA, A, 1, B, 1, BETA, C, 1 );
263 ALPHA, A, 1, B, 2, BETA, C, 1 );
267 ALPHA, A, 1, B, 1, BETA, C, 1 );
271 ALPHA, A, 1, B, 2, BETA, C, 1 );
275 ALPHA, A, 1, B, 1, BETA, C, 1 );
277
278 } else if (strncmp( sf,"cblas_zhemm" ,11)==0) {
280
283 ALPHA, A, 1, B, 1, BETA, C, 1 );
287 ALPHA, A, 1, B, 1, BETA, C, 1 );
291 ALPHA, A, 1, B, 1, BETA, C, 1 );
295 ALPHA, A, 1, B, 1, BETA, C, 1 );
299 ALPHA, A, 1, B, 1, BETA, C, 1 );
303 ALPHA, A, 1, B, 1, BETA, C, 1 );
307 ALPHA, A, 1, B, 1, BETA, C, 1 );
311 ALPHA, A, 1, B, 1, BETA, C, 1 );
315 ALPHA, A, 1, B, 1, BETA, C, 1 );
319 ALPHA, A, 1, B, 1, BETA, C, 1 );
323 ALPHA, A, 1, B, 1, BETA, C, 1 );
327 ALPHA, A, 1, B, 2, BETA, C, 2 );
331 ALPHA, A, 1, B, 1, BETA, C, 1 );
335 ALPHA, A, 1, B, 2, BETA, C, 2 );
339 ALPHA, A, 1, B, 1, BETA, C, 1 );
343 ALPHA, A, 2, B, 1, BETA, C, 1 );
347 ALPHA, A, 1, B, 1, BETA, C, 1 );
351 ALPHA, A, 2, B, 1, BETA, C, 1 );
355 ALPHA, A, 1, B, 1, BETA, C, 1 );
359 ALPHA, A, 2, B, 2, BETA, C, 1 );
363 ALPHA, A, 1, B, 2, BETA, C, 1 );
367 ALPHA, A, 2, B, 2, BETA, C, 1 );
371 ALPHA, A, 1, B, 2, BETA, C, 1 );
375 ALPHA, A, 1, B, 1, BETA, C, 1 );
379 ALPHA, A, 1, B, 1, BETA, C, 1 );
383 ALPHA, A, 1, B, 1, BETA, C, 1 );
387 ALPHA, A, 1, B, 1, BETA, C, 1 );
391 ALPHA, A, 1, B, 1, BETA, C, 1 );
395 ALPHA, A, 1, B, 1, BETA, C, 1 );
399 ALPHA, A, 1, B, 1, BETA, C, 1 );
403 ALPHA, A, 1, B, 1, BETA, C, 1 );
407 ALPHA, A, 1, B, 2, BETA, C, 2 );
411 ALPHA, A, 1, B, 1, BETA, C, 1 );
415 ALPHA, A, 1, B, 2, BETA, C, 2 );
419 ALPHA, A, 1, B, 1, BETA, C, 1 );
423 ALPHA, A, 2, B, 1, BETA, C, 1 );
427 ALPHA, A, 2, B, 1, BETA, C, 1 );
431 ALPHA, A, 2, B, 1, BETA, C, 1 );
435 ALPHA, A, 2, B, 1, BETA, C, 1 );
439 ALPHA, A, 1, B, 2, BETA, C, 1 );
443 ALPHA, A, 2, B, 2, BETA, C, 1 );
447 ALPHA, A, 1, B, 2, BETA, C, 1 );
451 ALPHA, A, 2, B, 2, BETA, C, 1 );
453
454 } else if (strncmp( sf,"cblas_zsymm" ,11)==0) {
456
459 ALPHA, A, 1, B, 1, BETA, C, 1 );
463 ALPHA, A, 1, B, 1, BETA, C, 1 );
467 ALPHA, A, 1, B, 1, BETA, C, 1 );
471 ALPHA, A, 1, B, 1, BETA, C, 1 );
475 ALPHA, A, 1, B, 1, BETA, C, 1 );
479 ALPHA, A, 1, B, 1, BETA, C, 1 );
483 ALPHA, A, 1, B, 1, BETA, C, 1 );
487 ALPHA, A, 1, B, 1, BETA, C, 1 );
491 ALPHA, A, 1, B, 1, BETA, C, 1 );
495 ALPHA, A, 1, B, 1, BETA, C, 1 );
499 ALPHA, A, 1, B, 1, BETA, C, 1 );
503 ALPHA, A, 1, B, 2, BETA, C, 2 );
507 ALPHA, A, 1, B, 1, BETA, C, 1 );
511 ALPHA, A, 1, B, 2, BETA, C, 2 );
515 ALPHA, A, 1, B, 1, BETA, C, 1 );
519 ALPHA, A, 2, B, 1, BETA, C, 1 );
523 ALPHA, A, 1, B, 1, BETA, C, 1 );
527 ALPHA, A, 2, B, 1, BETA, C, 1 );
531 ALPHA, A, 1, B, 1, BETA, C, 1 );
535 ALPHA, A, 2, B, 2, BETA, C, 1 );
539 ALPHA, A, 1, B, 2, BETA, C, 1 );
543 ALPHA, A, 2, B, 2, BETA, C, 1 );
547 ALPHA, A, 1, B, 2, BETA, C, 1 );
551 ALPHA, A, 1, B, 1, BETA, C, 1 );
555 ALPHA, A, 1, B, 1, BETA, C, 1 );
559 ALPHA, A, 1, B, 1, BETA, C, 1 );
563 ALPHA, A, 1, B, 1, BETA, C, 1 );
567 ALPHA, A, 1, B, 1, BETA, C, 1 );
571 ALPHA, A, 1, B, 1, BETA, C, 1 );
575 ALPHA, A, 1, B, 1, BETA, C, 1 );
579 ALPHA, A, 1, B, 1, BETA, C, 1 );
583 ALPHA, A, 1, B, 2, BETA, C, 2 );
587 ALPHA, A, 1, B, 1, BETA, C, 1 );
591 ALPHA, A, 1, B, 2, BETA, C, 2 );
595 ALPHA, A, 1, B, 1, BETA, C, 1 );
599 ALPHA, A, 2, B, 1, BETA, C, 1 );
603 ALPHA, A, 2, B, 1, BETA, C, 1 );
607 ALPHA, A, 2, B, 1, BETA, C, 1 );
611 ALPHA, A, 2, B, 1, BETA, C, 1 );
615 ALPHA, A, 1, B, 2, BETA, C, 1 );
619 ALPHA, A, 2, B, 2, BETA, C, 1 );
623 ALPHA, A, 1, B, 2, BETA, C, 1 );
627 ALPHA, A, 2, B, 2, BETA, C, 1 );
629
630 } else if (strncmp( sf,"cblas_ztrmm" ,11)==0) {
632
651 INVALID, 0, 0, ALPHA, A, 1, B, 1 );
909
910 } else if (strncmp( sf,"cblas_ztrsm" ,11)==0) {
912
931 INVALID, 0, 0, ALPHA, A, 1, B, 1 );
1189
1190 } else if (strncmp( sf,"cblas_zherk" ,11)==0) {
1192
1195 RALPHA, A, 1, RBETA, C, 1 );
1199 RALPHA, A, 1, RBETA, C, 1 );
1203 RALPHA, A, 1, RBETA, C, 1 );
1207 RALPHA, A, 1, RBETA, C, 1 );
1211 RALPHA, A, 1, RBETA, C, 1 );
1215 RALPHA, A, 1, RBETA, C, 1 );
1219 RALPHA, A, 1, RBETA, C, 1 );
1223 RALPHA, A, 1, RBETA, C, 1 );
1227 RALPHA, A, 1, RBETA, C, 1 );
1231 RALPHA, A, 1, RBETA, C, 1 );
1235 RALPHA, A, 1, RBETA, C, 1 );
1239 RALPHA, A, 1, RBETA, C, 2 );
1243 RALPHA, A, 1, RBETA, C, 1 );
1247 RALPHA, A, 1, RBETA, C, 2 );
1251 RALPHA, A, 1, RBETA, C, 1 );
1255 RALPHA, A, 1, RBETA, C, 2 );
1259 RALPHA, A, 1, RBETA, C, 1 );
1263 RALPHA, A, 1, RBETA, C, 2 );
1267 RALPHA, A, 1, RBETA, C, 1 );
1271 RALPHA, A, 1, RBETA, C, 1 );
1275 RALPHA, A, 2, RBETA, C, 1 );
1279 RALPHA, A, 1, RBETA, C, 1 );
1283 RALPHA, A, 2, RBETA, C, 1 );
1287 RALPHA, A, 2, RBETA, C, 1 );
1291 RALPHA, A, 1, RBETA, C, 1 );
1295 RALPHA, A, 2, RBETA, C, 1 );
1299 RALPHA, A, 1, RBETA, C, 1 );
1301
1302 } else if (strncmp( sf,"cblas_zsyrk" ,11)==0) {
1304
1307 ALPHA, A, 1, BETA, C, 1 );
1311 ALPHA, A, 1, BETA, C, 1 );
1315 ALPHA, A, 1, BETA, C, 1 );
1319 ALPHA, A, 1, BETA, C, 1 );
1323 ALPHA, A, 1, BETA, C, 1 );
1327 ALPHA, A, 1, BETA, C, 1 );
1331 ALPHA, A, 1, BETA, C, 1 );
1335 ALPHA, A, 1, BETA, C, 1 );
1339 ALPHA, A, 1, BETA, C, 1 );
1343 ALPHA, A, 1, BETA, C, 1 );
1347 ALPHA, A, 1, BETA, C, 1 );
1351 ALPHA, A, 1, BETA, C, 2 );
1355 ALPHA, A, 1, BETA, C, 1 );
1359 ALPHA, A, 1, BETA, C, 2 );
1363 ALPHA, A, 1, BETA, C, 1 );
1367 ALPHA, A, 1, BETA, C, 2 );
1371 ALPHA, A, 1, BETA, C, 1 );
1375 ALPHA, A, 1, BETA, C, 2 );
1379 ALPHA, A, 1, BETA, C, 1 );
1383 ALPHA, A, 1, BETA, C, 1 );
1387 ALPHA, A, 2, BETA, C, 1 );
1391 ALPHA, A, 1, BETA, C, 1 );
1395 ALPHA, A, 2, BETA, C, 1 );
1399 ALPHA, A, 2, BETA, C, 1 );
1403 ALPHA, A, 1, BETA, C, 1 );
1407 ALPHA, A, 2, BETA, C, 1 );
1411 ALPHA, A, 1, BETA, C, 1 );
1413
1414 } else if (strncmp( sf,"cblas_zher2k" ,12)==0) {
1416
1419 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1423 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1427 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1431 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1435 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1439 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1443 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1447 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1451 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1455 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1459 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1463 ALPHA, A, 1, B, 2, RBETA, C, 2 );
1467 ALPHA, A, 1, B, 2, RBETA, C, 1 );
1471 ALPHA, A, 1, B, 2, RBETA, C, 2 );
1475 ALPHA, A, 1, B, 2, RBETA, C, 1 );
1479 ALPHA, A, 1, B, 1, RBETA, C, 2 );
1483 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1487 ALPHA, A, 1, B, 1, RBETA, C, 2 );
1491 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1495 ALPHA, A, 2, B, 1, RBETA, C, 2 );
1499 ALPHA, A, 2, B, 1, RBETA, C, 1 );
1503 ALPHA, A, 2, B, 1, RBETA, C, 2 );
1507 ALPHA, A, 2, B, 1, RBETA, C, 1 );
1511 ALPHA, A, 2, B, 1, RBETA, C, 2 );
1515 ALPHA, A, 2, B, 1, RBETA, C, 1 );
1519 ALPHA, A, 2, B, 1, RBETA, C, 2 );
1523 ALPHA, A, 2, B, 1, RBETA, C, 1 );
1527 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1531 ALPHA, A, 2, B, 2, RBETA, C, 1 );
1535 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1539 ALPHA, A, 2, B, 2, RBETA, C, 1 );
1543 ALPHA, A, 2, B, 2, RBETA, C, 1 );
1547 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1551 ALPHA, A, 2, B, 2, RBETA, C, 1 );
1555 ALPHA, A, 1, B, 1, RBETA, C, 1 );
1557
1558 } else if (strncmp( sf,"cblas_zsyr2k" ,12)==0) {
1560
1563 ALPHA, A, 1, B, 1, BETA, C, 1 );
1567 ALPHA, A, 1, B, 1, BETA, C, 1 );
1571 ALPHA, A, 1, B, 1, BETA, C, 1 );
1575 ALPHA, A, 1, B, 1, BETA, C, 1 );
1579 ALPHA, A, 1, B, 1, BETA, C, 1 );
1583 ALPHA, A, 1, B, 1, BETA, C, 1 );
1587 ALPHA, A, 1, B, 1, BETA, C, 1 );
1591 ALPHA, A, 1, B, 1, BETA, C, 1 );
1595 ALPHA, A, 1, B, 1, BETA, C, 1 );
1599 ALPHA, A, 1, B, 1, BETA, C, 1 );
1603 ALPHA, A, 1, B, 1, BETA, C, 1 );
1607 ALPHA, A, 1, B, 2, BETA, C, 2 );
1611 ALPHA, A, 1, B, 2, BETA, C, 1 );
1615 ALPHA, A, 1, B, 2, BETA, C, 2 );
1619 ALPHA, A, 1, B, 2, BETA, C, 1 );
1623 ALPHA, A, 1, B, 1, BETA, C, 2 );
1627 ALPHA, A, 1, B, 1, BETA, C, 1 );
1631 ALPHA, A, 1, B, 1, BETA, C, 2 );
1635 ALPHA, A, 1, B, 1, BETA, C, 1 );
1639 ALPHA, A, 2, B, 1, BETA, C, 2 );
1643 ALPHA, A, 2, B, 1, BETA, C, 1 );
1647 ALPHA, A, 2, B, 1, BETA, C, 2 );
1651 ALPHA, A, 2, B, 1, BETA, C, 1 );
1655 ALPHA, A, 2, B, 1, BETA, C, 2 );
1659 ALPHA, A, 2, B, 1, BETA, C, 1 );
1663 ALPHA, A, 2, B, 1, BETA, C, 2 );
1667 ALPHA, A, 2, B, 1, BETA, C, 1 );
1671 ALPHA, A, 1, B, 1, BETA, C, 1 );
1675 ALPHA, A, 2, B, 2, BETA, C, 1 );
1679 ALPHA, A, 1, B, 1, BETA, C, 1 );
1683 ALPHA, A, 2, B, 2, BETA, C, 1 );
1687 ALPHA, A, 2, B, 2, BETA, C, 1 );
1691 ALPHA, A, 1, B, 1, BETA, C, 1 );
1695 ALPHA, A, 2, B, 2, BETA, C, 1 );
1699 ALPHA, A, 1, B, 1, BETA, C, 1 );
1701
1702 }
1703
1705 printf(
" %-12s PASSED THE TESTS OF ERROR-EXITS\n",
cblas_rout);
1706 else
1707 printf(
"***** %s FAILED THE TESTS OF ERROR-EXITS *******\n",
cblas_rout);
1708}
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)
void cblas_zhemm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const void *beta, void *C, const CBLAS_INT ldc)
void cblas_zher2k(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const double beta, void *C, const CBLAS_INT ldc)
void cblas_zsyr2k(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const void *beta, void *C, const CBLAS_INT ldc)
void cblas_zsymm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const void *beta, void *C, const CBLAS_INT ldc)
void cblas_zherk(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const double alpha, const void *A, const CBLAS_INT lda, const double beta, void *C, const CBLAS_INT ldc)
void cblas_zsyrk(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *beta, void *C, const CBLAS_INT ldc)
void cblas_ztrmm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *A, const CBLAS_INT lda, void *B, const CBLAS_INT ldb)
void cblas_ztrsm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *A, const CBLAS_INT lda, void *B, const CBLAS_INT ldb)
void cblas_zgemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, CBLAS_TRANSPOSE TransB, const CBLAS_INT M, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const void *beta, void *C, const CBLAS_INT ldc)