29 float A[2] = {0.0,0.0},
48 if (strncmp( sf,
"cblas_cgemv",11)==0) {
49 cblas_rout =
"cblas_cgemv";
52 ALPHA, A, 1, X, 1, BETA, Y, 1 );
54 cblas_info = 2; RowMajorStrg =
FALSE;
56 ALPHA, A, 1, X, 1, BETA, Y, 1 );
58 cblas_info = 3; RowMajorStrg =
FALSE;
60 ALPHA, A, 1, X, 1, BETA, Y, 1 );
62 cblas_info = 4; RowMajorStrg =
FALSE;
64 ALPHA, A, 1, X, 1, BETA, Y, 1 );
66 cblas_info = 7; RowMajorStrg =
FALSE;
68 ALPHA, A, 1, X, 1, BETA, Y, 1 );
70 cblas_info = 9; RowMajorStrg =
FALSE;
72 ALPHA, A, 1, X, 0, BETA, Y, 1 );
74 cblas_info = 12; RowMajorStrg =
FALSE;
76 ALPHA, A, 1, X, 1, BETA, Y, 0 );
79 cblas_info = 2; RowMajorStrg =
TRUE; RowMajorStrg =
TRUE;
81 ALPHA, A, 1, X, 1, BETA, Y, 1 );
83 cblas_info = 3; RowMajorStrg =
TRUE;
85 ALPHA, A, 1, X, 1, BETA, Y, 1 );
87 cblas_info = 4; RowMajorStrg =
TRUE;
89 ALPHA, A, 1, X, 1, BETA, Y, 1 );
91 cblas_info = 7; RowMajorStrg =
TRUE;
93 ALPHA, A, 1, X, 1, BETA, Y, 1 );
95 cblas_info = 9; RowMajorStrg =
TRUE;
97 ALPHA, A, 1, X, 0, BETA, Y, 1 );
99 cblas_info = 12; RowMajorStrg =
TRUE;
101 ALPHA, A, 1, X, 1, BETA, Y, 0 );
103 }
else if (strncmp( sf,
"cblas_cgbmv",11)==0) {
104 cblas_rout =
"cblas_cgbmv";
105 cblas_info = 1; RowMajorStrg =
FALSE;
107 ALPHA, A, 1, X, 1, BETA, Y, 1 );
109 cblas_info = 2; RowMajorStrg =
FALSE;
111 ALPHA, A, 1, X, 1, BETA, Y, 1 );
113 cblas_info = 3; RowMajorStrg =
FALSE;
115 ALPHA, A, 1, X, 1, BETA, Y, 1 );
117 cblas_info = 4; RowMajorStrg =
FALSE;
119 ALPHA, A, 1, X, 1, BETA, Y, 1 );
121 cblas_info = 5; RowMajorStrg =
FALSE;
123 ALPHA, A, 1, X, 1, BETA, Y, 1 );
125 cblas_info = 6; RowMajorStrg =
FALSE;
127 ALPHA, A, 1, X, 1, BETA, Y, 1 );
129 cblas_info = 9; RowMajorStrg =
FALSE;
131 ALPHA, A, 1, X, 1, BETA, Y, 1 );
133 cblas_info = 11; RowMajorStrg =
FALSE;
135 ALPHA, A, 1, X, 0, BETA, Y, 1 );
137 cblas_info = 14; RowMajorStrg =
FALSE;
139 ALPHA, A, 1, X, 1, BETA, Y, 0 );
141 cblas_info = 2; RowMajorStrg =
TRUE;
143 ALPHA, A, 1, X, 1, BETA, Y, 1 );
145 cblas_info = 3; RowMajorStrg =
TRUE;
147 ALPHA, A, 1, X, 1, BETA, Y, 1 );
149 cblas_info = 4; RowMajorStrg =
TRUE;
151 ALPHA, A, 1, X, 1, BETA, Y, 1 );
153 cblas_info = 5; RowMajorStrg =
TRUE;
155 ALPHA, A, 1, X, 1, BETA, Y, 1 );
157 cblas_info = 6; RowMajorStrg =
TRUE;
159 ALPHA, A, 1, X, 1, BETA, Y, 1 );
161 cblas_info = 9; RowMajorStrg =
TRUE;
163 ALPHA, A, 1, X, 1, BETA, Y, 1 );
165 cblas_info = 11; RowMajorStrg =
TRUE;
167 ALPHA, A, 1, X, 0, BETA, Y, 1 );
169 cblas_info = 14; RowMajorStrg =
TRUE;
171 ALPHA, A, 1, X, 1, BETA, Y, 0 );
173 }
else if (strncmp( sf,
"cblas_chemv",11)==0) {
174 cblas_rout =
"cblas_chemv";
175 cblas_info = 1; RowMajorStrg =
FALSE;
177 ALPHA, A, 1, X, 1, BETA, Y, 1 );
179 cblas_info = 2; RowMajorStrg =
FALSE;
181 ALPHA, A, 1, X, 1, BETA, Y, 1 );
183 cblas_info = 3; RowMajorStrg =
FALSE;
185 ALPHA, A, 1, X, 1, BETA, Y, 1 );
187 cblas_info = 6; RowMajorStrg =
FALSE;
189 ALPHA, A, 1, X, 1, BETA, Y, 1 );
191 cblas_info = 8; RowMajorStrg =
FALSE;
193 ALPHA, A, 1, X, 0, BETA, Y, 1 );
195 cblas_info = 11; RowMajorStrg =
FALSE;
197 ALPHA, A, 1, X, 1, BETA, Y, 0 );
199 cblas_info = 2; RowMajorStrg =
TRUE;
201 ALPHA, A, 1, X, 1, BETA, Y, 1 );
203 cblas_info = 3; RowMajorStrg =
TRUE;
205 ALPHA, A, 1, X, 1, BETA, Y, 1 );
207 cblas_info = 6; RowMajorStrg =
TRUE;
209 ALPHA, A, 1, X, 1, BETA, Y, 1 );
211 cblas_info = 8; RowMajorStrg =
TRUE;
213 ALPHA, A, 1, X, 0, BETA, Y, 1 );
215 cblas_info = 11; RowMajorStrg =
TRUE;
217 ALPHA, A, 1, X, 1, BETA, Y, 0 );
219 }
else if (strncmp( sf,
"cblas_chbmv",11)==0) {
220 cblas_rout =
"cblas_chbmv";
221 cblas_info = 1; RowMajorStrg =
FALSE;
223 ALPHA, A, 1, X, 1, BETA, Y, 1 );
225 cblas_info = 2; RowMajorStrg =
FALSE;
227 ALPHA, A, 1, X, 1, BETA, Y, 1 );
229 cblas_info = 3; RowMajorStrg =
FALSE;
231 ALPHA, A, 1, X, 1, BETA, Y, 1 );
233 cblas_info = 4; RowMajorStrg =
FALSE;
235 ALPHA, A, 1, X, 1, BETA, Y, 1 );
237 cblas_info = 7; RowMajorStrg =
FALSE;
239 ALPHA, A, 1, X, 1, BETA, Y, 1 );
241 cblas_info = 9; RowMajorStrg =
FALSE;
243 ALPHA, A, 1, X, 0, BETA, Y, 1 );
245 cblas_info = 12; RowMajorStrg =
FALSE;
247 ALPHA, A, 1, X, 1, BETA, Y, 0 );
249 cblas_info = 2; RowMajorStrg =
TRUE;
251 ALPHA, A, 1, X, 1, BETA, Y, 1 );
253 cblas_info = 3; RowMajorStrg =
TRUE;
255 ALPHA, A, 1, X, 1, BETA, Y, 1 );
257 cblas_info = 4; RowMajorStrg =
TRUE;
259 ALPHA, A, 1, X, 1, BETA, Y, 1 );
261 cblas_info = 7; RowMajorStrg =
TRUE;
263 ALPHA, A, 1, X, 1, BETA, Y, 1 );
265 cblas_info = 9; RowMajorStrg =
TRUE;
267 ALPHA, A, 1, X, 0, BETA, Y, 1 );
269 cblas_info = 12; RowMajorStrg =
TRUE;
271 ALPHA, A, 1, X, 1, BETA, Y, 0 );
273 }
else if (strncmp( sf,
"cblas_chpmv",11)==0) {
274 cblas_rout =
"cblas_chpmv";
275 cblas_info = 1; RowMajorStrg =
FALSE;
277 ALPHA, A, X, 1, BETA, Y, 1 );
279 cblas_info = 2; RowMajorStrg =
FALSE;
281 ALPHA, A, X, 1, BETA, Y, 1 );
283 cblas_info = 3; RowMajorStrg =
FALSE;
285 ALPHA, A, X, 1, BETA, Y, 1 );
287 cblas_info = 7; RowMajorStrg =
FALSE;
289 ALPHA, A, X, 0, BETA, Y, 1 );
291 cblas_info = 10; RowMajorStrg =
FALSE;
293 ALPHA, A, X, 1, BETA, Y, 0 );
295 cblas_info = 2; RowMajorStrg =
TRUE;
297 ALPHA, A, X, 1, BETA, Y, 1 );
299 cblas_info = 3; RowMajorStrg =
TRUE;
301 ALPHA, A, X, 1, BETA, Y, 1 );
303 cblas_info = 7; RowMajorStrg =
TRUE;
305 ALPHA, A, X, 0, BETA, Y, 1 );
307 cblas_info = 10; RowMajorStrg =
TRUE;
309 ALPHA, A, X, 1, BETA, Y, 0 );
311 }
else if (strncmp( sf,
"cblas_ctrmv",11)==0) {
312 cblas_rout =
"cblas_ctrmv";
313 cblas_info = 1; RowMajorStrg =
FALSE;
317 cblas_info = 2; RowMajorStrg =
FALSE;
321 cblas_info = 3; RowMajorStrg =
FALSE;
325 cblas_info = 4; RowMajorStrg =
FALSE;
329 cblas_info = 5; RowMajorStrg =
FALSE;
333 cblas_info = 7; RowMajorStrg =
FALSE;
337 cblas_info = 9; RowMajorStrg =
FALSE;
341 cblas_info = 2; RowMajorStrg =
TRUE;
345 cblas_info = 3; RowMajorStrg =
TRUE;
349 cblas_info = 4; RowMajorStrg =
TRUE;
353 cblas_info = 5; RowMajorStrg =
TRUE;
357 cblas_info = 7; RowMajorStrg =
TRUE;
361 cblas_info = 9; RowMajorStrg =
TRUE;
365 }
else if (strncmp( sf,
"cblas_ctbmv",11)==0) {
366 cblas_rout =
"cblas_ctbmv";
367 cblas_info = 1; RowMajorStrg =
FALSE;
371 cblas_info = 2; RowMajorStrg =
FALSE;
375 cblas_info = 3; RowMajorStrg =
FALSE;
379 cblas_info = 4; RowMajorStrg =
FALSE;
383 cblas_info = 5; RowMajorStrg =
FALSE;
387 cblas_info = 6; RowMajorStrg =
FALSE;
391 cblas_info = 8; RowMajorStrg =
FALSE;
395 cblas_info = 10; RowMajorStrg =
FALSE;
399 cblas_info = 2; RowMajorStrg =
TRUE;
403 cblas_info = 3; RowMajorStrg =
TRUE;
407 cblas_info = 4; RowMajorStrg =
TRUE;
411 cblas_info = 5; RowMajorStrg =
TRUE;
415 cblas_info = 6; RowMajorStrg =
TRUE;
419 cblas_info = 8; RowMajorStrg =
TRUE;
423 cblas_info = 10; RowMajorStrg =
TRUE;
427 }
else if (strncmp( sf,
"cblas_ctpmv",11)==0) {
428 cblas_rout =
"cblas_ctpmv";
429 cblas_info = 1; RowMajorStrg =
FALSE;
433 cblas_info = 2; RowMajorStrg =
FALSE;
437 cblas_info = 3; RowMajorStrg =
FALSE;
441 cblas_info = 4; RowMajorStrg =
FALSE;
445 cblas_info = 5; RowMajorStrg =
FALSE;
449 cblas_info = 8; RowMajorStrg =
FALSE;
453 cblas_info = 2; RowMajorStrg =
TRUE;
457 cblas_info = 3; RowMajorStrg =
TRUE;
461 cblas_info = 4; RowMajorStrg =
TRUE;
465 cblas_info = 5; RowMajorStrg =
TRUE;
469 cblas_info = 8; RowMajorStrg =
TRUE;
473 }
else if (strncmp( sf,
"cblas_ctrsv",11)==0) {
474 cblas_rout =
"cblas_ctrsv";
475 cblas_info = 1; RowMajorStrg =
FALSE;
479 cblas_info = 2; RowMajorStrg =
FALSE;
483 cblas_info = 3; RowMajorStrg =
FALSE;
487 cblas_info = 4; RowMajorStrg =
FALSE;
491 cblas_info = 5; RowMajorStrg =
FALSE;
495 cblas_info = 7; RowMajorStrg =
FALSE;
499 cblas_info = 9; RowMajorStrg =
FALSE;
503 cblas_info = 2; RowMajorStrg =
TRUE;
507 cblas_info = 3; RowMajorStrg =
TRUE;
511 cblas_info = 4; RowMajorStrg =
TRUE;
515 cblas_info = 5; RowMajorStrg =
TRUE;
519 cblas_info = 7; RowMajorStrg =
TRUE;
523 cblas_info = 9; RowMajorStrg =
TRUE;
527 }
else if (strncmp( sf,
"cblas_ctbsv",11)==0) {
528 cblas_rout =
"cblas_ctbsv";
529 cblas_info = 1; RowMajorStrg =
FALSE;
533 cblas_info = 2; RowMajorStrg =
FALSE;
537 cblas_info = 3; RowMajorStrg =
FALSE;
541 cblas_info = 4; RowMajorStrg =
FALSE;
545 cblas_info = 5; RowMajorStrg =
FALSE;
549 cblas_info = 6; RowMajorStrg =
FALSE;
553 cblas_info = 8; RowMajorStrg =
FALSE;
557 cblas_info = 10; RowMajorStrg =
FALSE;
561 cblas_info = 2; RowMajorStrg =
TRUE;
565 cblas_info = 3; RowMajorStrg =
TRUE;
569 cblas_info = 4; RowMajorStrg =
TRUE;
573 cblas_info = 5; RowMajorStrg =
TRUE;
577 cblas_info = 6; RowMajorStrg =
TRUE;
581 cblas_info = 8; RowMajorStrg =
TRUE;
585 cblas_info = 10; RowMajorStrg =
TRUE;
589 }
else if (strncmp( sf,
"cblas_ctpsv",11)==0) {
590 cblas_rout =
"cblas_ctpsv";
591 cblas_info = 1; RowMajorStrg =
FALSE;
595 cblas_info = 2; RowMajorStrg =
FALSE;
599 cblas_info = 3; RowMajorStrg =
FALSE;
603 cblas_info = 4; RowMajorStrg =
FALSE;
607 cblas_info = 5; RowMajorStrg =
FALSE;
611 cblas_info = 8; RowMajorStrg =
FALSE;
615 cblas_info = 2; RowMajorStrg =
TRUE;
619 cblas_info = 3; RowMajorStrg =
TRUE;
623 cblas_info = 4; RowMajorStrg =
TRUE;
627 cblas_info = 5; RowMajorStrg =
TRUE;
631 cblas_info = 8; RowMajorStrg =
TRUE;
635 }
else if (strncmp( sf,
"cblas_cgeru",10)==0) {
636 cblas_rout =
"cblas_cgeru";
637 cblas_info = 1; RowMajorStrg =
FALSE;
640 cblas_info = 2; RowMajorStrg =
FALSE;
643 cblas_info = 3; RowMajorStrg =
FALSE;
646 cblas_info = 6; RowMajorStrg =
FALSE;
649 cblas_info = 8; RowMajorStrg =
FALSE;
652 cblas_info = 10; RowMajorStrg =
FALSE;
655 cblas_info = 2; RowMajorStrg =
TRUE;
658 cblas_info = 3; RowMajorStrg =
TRUE;
661 cblas_info = 6; RowMajorStrg =
TRUE;
664 cblas_info = 8; RowMajorStrg =
TRUE;
667 cblas_info = 10; RowMajorStrg =
TRUE;
670 }
else if (strncmp( sf,
"cblas_cgerc",10)==0) {
671 cblas_rout =
"cblas_cgerc";
672 cblas_info = 1; RowMajorStrg =
FALSE;
675 cblas_info = 2; RowMajorStrg =
FALSE;
678 cblas_info = 3; RowMajorStrg =
FALSE;
681 cblas_info = 6; RowMajorStrg =
FALSE;
684 cblas_info = 8; RowMajorStrg =
FALSE;
687 cblas_info = 10; RowMajorStrg =
FALSE;
690 cblas_info = 2; RowMajorStrg =
TRUE;
693 cblas_info = 3; RowMajorStrg =
TRUE;
696 cblas_info = 6; RowMajorStrg =
TRUE;
699 cblas_info = 8; RowMajorStrg =
TRUE;
702 cblas_info = 10; RowMajorStrg =
TRUE;
705 }
else if (strncmp( sf,
"cblas_cher2",11)==0) {
706 cblas_rout =
"cblas_cher2";
707 cblas_info = 1; RowMajorStrg =
FALSE;
710 cblas_info = 2; RowMajorStrg =
FALSE;
713 cblas_info = 3; RowMajorStrg =
FALSE;
716 cblas_info = 6; RowMajorStrg =
FALSE;
719 cblas_info = 8; RowMajorStrg =
FALSE;
722 cblas_info = 10; RowMajorStrg =
FALSE;
725 cblas_info = 2; RowMajorStrg =
TRUE;
728 cblas_info = 3; RowMajorStrg =
TRUE;
731 cblas_info = 6; RowMajorStrg =
TRUE;
734 cblas_info = 8; RowMajorStrg =
TRUE;
737 cblas_info = 10; RowMajorStrg =
TRUE;
740 }
else if (strncmp( sf,
"cblas_chpr2",11)==0) {
741 cblas_rout =
"cblas_chpr2";
742 cblas_info = 1; RowMajorStrg =
FALSE;
745 cblas_info = 2; RowMajorStrg =
FALSE;
748 cblas_info = 3; RowMajorStrg =
FALSE;
751 cblas_info = 6; RowMajorStrg =
FALSE;
754 cblas_info = 8; RowMajorStrg =
FALSE;
757 cblas_info = 2; RowMajorStrg =
TRUE;
760 cblas_info = 3; RowMajorStrg =
TRUE;
763 cblas_info = 6; RowMajorStrg =
TRUE;
766 cblas_info = 8; RowMajorStrg =
TRUE;
769 }
else if (strncmp( sf,
"cblas_cher",10)==0) {
770 cblas_rout =
"cblas_cher";
771 cblas_info = 1; RowMajorStrg =
FALSE;
774 cblas_info = 2; RowMajorStrg =
FALSE;
777 cblas_info = 3; RowMajorStrg =
FALSE;
780 cblas_info = 6; RowMajorStrg =
FALSE;
783 cblas_info = 8; RowMajorStrg =
FALSE;
786 cblas_info = 2; RowMajorStrg =
TRUE;
789 cblas_info = 3; RowMajorStrg =
TRUE;
792 cblas_info = 6; RowMajorStrg =
TRUE;
795 cblas_info = 8; RowMajorStrg =
TRUE;
798 }
else if (strncmp( sf,
"cblas_chpr",10)==0) {
799 cblas_rout =
"cblas_chpr";
800 cblas_info = 1; RowMajorStrg =
FALSE;
803 cblas_info = 2; RowMajorStrg =
FALSE;
806 cblas_info = 3; RowMajorStrg =
FALSE;
809 cblas_info = 6; RowMajorStrg =
FALSE;
812 cblas_info = 2; RowMajorStrg =
FALSE;
815 cblas_info = 3; RowMajorStrg =
FALSE;
818 cblas_info = 6; RowMajorStrg =
FALSE;
822 if (cblas_ok ==
TRUE)
823 printf(
" %-12s PASSED THE TESTS OF ERROR-EXITS\n", cblas_rout);
825 printf(
"******* %s FAILED THE TESTS OF ERROR-EXITS *******\n",cblas_rout);
void cblas_cgerc(CBLAS_LAYOUT layout, const int M, const int N, const void *alpha, const void *X, const int incX, const void *Y, const int incY, void *A, const int lda)
void cblas_chbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const int K, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *Y, const int incY)
void cblas_ctrmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const void *A, const int lda, void *X, const int incX)
void cblas_ctbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const int K, const void *A, const int lda, void *X, const int incX)
void cblas_chemv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *Y, const int incY)
void cblas_ctbsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const int K, const void *A, const int lda, void *X, const int incX)
void cblas_chpr2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const void *alpha, const void *X, const int incX, const void *Y, const int incY, void *Ap)
void cblas_ctpmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const void *Ap, void *X, const int incX)
void cblas_cher(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const void *X, const int incX, void *A, const int lda)
void cblas_ctrsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const void *A, const int lda, void *X, const int incX)
void cblas_cher2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const void *alpha, const void *X, const int incX, const void *Y, const int incY, void *A, const int lda)
void cblas_cgeru(CBLAS_LAYOUT layout, const int M, const int N, const void *alpha, const void *X, const int incX, const void *Y, const int incY, void *A, const int lda)
void cblas_cgemv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const int M, const int N, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *Y, const int incY)
void F77_xerbla(char *srname, void *vinfo)
void cblas_cgbmv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const int M, const int N, const int KL, const int KU, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *Y, const int incY)
void cblas_ctpsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const void *Ap, void *X, const int incX)
void cblas_chpmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const void *alpha, const void *Ap, const void *X, const int incX, const void *beta, void *Y, const int incY)
void cblas_xerbla(int p, const char *rout, const char *form,...)
void cblas_chpr(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const void *X, const int incX, void *A)