11 void F77_xerbla(F77_Char F77_srname,
void *vinfo);
20 if (cblas_lerr == 1 ) {
21 printf(
"***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
29 double A[2] = {0.0,0.0},
46 if (strncmp( sf,
"cblas_dgemv",11)==0) {
47 cblas_rout =
"cblas_dgemv";
50 ALPHA, A, 1, X, 1, BETA, Y, 1 );
52 cblas_info = 2; RowMajorStrg =
FALSE;
54 ALPHA, A, 1, X, 1, BETA, Y, 1 );
56 cblas_info = 3; RowMajorStrg =
FALSE;
58 ALPHA, A, 1, X, 1, BETA, Y, 1 );
60 cblas_info = 4; RowMajorStrg =
FALSE;
62 ALPHA, A, 1, X, 1, BETA, Y, 1 );
64 cblas_info = 7; RowMajorStrg =
FALSE;
66 ALPHA, A, 1, X, 1, BETA, Y, 1 );
68 cblas_info = 9; RowMajorStrg =
FALSE;
70 ALPHA, A, 1, X, 0, BETA, Y, 1 );
72 cblas_info = 12; RowMajorStrg =
FALSE;
74 ALPHA, A, 1, X, 1, BETA, Y, 0 );
77 cblas_info = 2; RowMajorStrg =
TRUE; RowMajorStrg =
TRUE;
79 ALPHA, A, 1, X, 1, BETA, Y, 1 );
81 cblas_info = 3; RowMajorStrg =
TRUE;
83 ALPHA, A, 1, X, 1, BETA, Y, 1 );
85 cblas_info = 4; RowMajorStrg =
TRUE;
87 ALPHA, A, 1, X, 1, BETA, Y, 1 );
89 cblas_info = 7; RowMajorStrg =
TRUE;
91 ALPHA, A, 1, X, 1, BETA, Y, 1 );
93 cblas_info = 9; RowMajorStrg =
TRUE;
95 ALPHA, A, 1, X, 0, BETA, Y, 1 );
97 cblas_info = 12; RowMajorStrg =
TRUE;
99 ALPHA, A, 1, X, 1, BETA, Y, 0 );
101 }
else if (strncmp( sf,
"cblas_dgbmv",11)==0) {
102 cblas_rout =
"cblas_dgbmv";
103 cblas_info = 1; RowMajorStrg =
FALSE;
105 ALPHA, A, 1, X, 1, BETA, Y, 1 );
107 cblas_info = 2; RowMajorStrg =
FALSE;
109 ALPHA, A, 1, X, 1, BETA, Y, 1 );
111 cblas_info = 3; RowMajorStrg =
FALSE;
113 ALPHA, A, 1, X, 1, BETA, Y, 1 );
115 cblas_info = 4; RowMajorStrg =
FALSE;
117 ALPHA, A, 1, X, 1, BETA, Y, 1 );
119 cblas_info = 5; RowMajorStrg =
FALSE;
121 ALPHA, A, 1, X, 1, BETA, Y, 1 );
123 cblas_info = 6; RowMajorStrg =
FALSE;
125 ALPHA, A, 1, X, 1, BETA, Y, 1 );
127 cblas_info = 9; RowMajorStrg =
FALSE;
129 ALPHA, A, 1, X, 1, BETA, Y, 1 );
131 cblas_info = 11; RowMajorStrg =
FALSE;
133 ALPHA, A, 1, X, 0, BETA, Y, 1 );
135 cblas_info = 14; RowMajorStrg =
FALSE;
137 ALPHA, A, 1, X, 1, BETA, Y, 0 );
139 cblas_info = 2; RowMajorStrg =
TRUE;
141 ALPHA, A, 1, X, 1, BETA, Y, 1 );
143 cblas_info = 3; RowMajorStrg =
TRUE;
145 ALPHA, A, 1, X, 1, BETA, Y, 1 );
147 cblas_info = 4; RowMajorStrg =
TRUE;
149 ALPHA, A, 1, X, 1, BETA, Y, 1 );
151 cblas_info = 5; RowMajorStrg =
TRUE;
153 ALPHA, A, 1, X, 1, BETA, Y, 1 );
155 cblas_info = 6; RowMajorStrg =
TRUE;
157 ALPHA, A, 1, X, 1, BETA, Y, 1 );
159 cblas_info = 9; RowMajorStrg =
TRUE;
161 ALPHA, A, 1, X, 1, BETA, Y, 1 );
163 cblas_info = 11; RowMajorStrg =
TRUE;
165 ALPHA, A, 1, X, 0, BETA, Y, 1 );
167 cblas_info = 14; RowMajorStrg =
TRUE;
169 ALPHA, A, 1, X, 1, BETA, Y, 0 );
171 }
else if (strncmp( sf,
"cblas_dsymv",11)==0) {
172 cblas_rout =
"cblas_dsymv";
173 cblas_info = 1; RowMajorStrg =
FALSE;
175 ALPHA, A, 1, X, 1, BETA, Y, 1 );
177 cblas_info = 2; RowMajorStrg =
FALSE;
179 ALPHA, A, 1, X, 1, BETA, Y, 1 );
181 cblas_info = 3; RowMajorStrg =
FALSE;
183 ALPHA, A, 1, X, 1, BETA, Y, 1 );
185 cblas_info = 6; RowMajorStrg =
FALSE;
187 ALPHA, A, 1, X, 1, BETA, Y, 1 );
189 cblas_info = 8; RowMajorStrg =
FALSE;
191 ALPHA, A, 1, X, 0, BETA, Y, 1 );
193 cblas_info = 11; RowMajorStrg =
FALSE;
195 ALPHA, A, 1, X, 1, BETA, Y, 0 );
197 cblas_info = 2; RowMajorStrg =
TRUE;
199 ALPHA, A, 1, X, 1, BETA, Y, 1 );
201 cblas_info = 3; RowMajorStrg =
TRUE;
203 ALPHA, A, 1, X, 1, BETA, Y, 1 );
205 cblas_info = 6; RowMajorStrg =
TRUE;
207 ALPHA, A, 1, X, 1, BETA, Y, 1 );
209 cblas_info = 8; RowMajorStrg =
TRUE;
211 ALPHA, A, 1, X, 0, BETA, Y, 1 );
213 cblas_info = 11; RowMajorStrg =
TRUE;
215 ALPHA, A, 1, X, 1, BETA, Y, 0 );
217 }
else if (strncmp( sf,
"cblas_dsbmv",11)==0) {
218 cblas_rout =
"cblas_dsbmv";
219 cblas_info = 1; RowMajorStrg =
FALSE;
221 ALPHA, A, 1, X, 1, BETA, Y, 1 );
223 cblas_info = 2; RowMajorStrg =
FALSE;
225 ALPHA, A, 1, X, 1, BETA, Y, 1 );
227 cblas_info = 3; RowMajorStrg =
FALSE;
229 ALPHA, A, 1, X, 1, BETA, Y, 1 );
231 cblas_info = 4; RowMajorStrg =
FALSE;
233 ALPHA, A, 1, X, 1, BETA, Y, 1 );
235 cblas_info = 7; RowMajorStrg =
FALSE;
237 ALPHA, A, 1, X, 1, BETA, Y, 1 );
239 cblas_info = 9; RowMajorStrg =
FALSE;
241 ALPHA, A, 1, X, 0, BETA, Y, 1 );
243 cblas_info = 12; RowMajorStrg =
FALSE;
245 ALPHA, A, 1, X, 1, BETA, Y, 0 );
247 cblas_info = 2; RowMajorStrg =
TRUE;
249 ALPHA, A, 1, X, 1, BETA, Y, 1 );
251 cblas_info = 3; RowMajorStrg =
TRUE;
253 ALPHA, A, 1, X, 1, BETA, Y, 1 );
255 cblas_info = 4; RowMajorStrg =
TRUE;
257 ALPHA, A, 1, X, 1, BETA, Y, 1 );
259 cblas_info = 7; RowMajorStrg =
TRUE;
261 ALPHA, A, 1, X, 1, BETA, Y, 1 );
263 cblas_info = 9; RowMajorStrg =
TRUE;
265 ALPHA, A, 1, X, 0, BETA, Y, 1 );
267 cblas_info = 12; RowMajorStrg =
TRUE;
269 ALPHA, A, 1, X, 1, BETA, Y, 0 );
271 }
else if (strncmp( sf,
"cblas_dspmv",11)==0) {
272 cblas_rout =
"cblas_dspmv";
273 cblas_info = 1; RowMajorStrg =
FALSE;
275 ALPHA, A, X, 1, BETA, Y, 1 );
277 cblas_info = 2; RowMajorStrg =
FALSE;
279 ALPHA, A, X, 1, BETA, Y, 1 );
281 cblas_info = 3; RowMajorStrg =
FALSE;
283 ALPHA, A, X, 1, BETA, Y, 1 );
285 cblas_info = 7; RowMajorStrg =
FALSE;
287 ALPHA, A, X, 0, BETA, Y, 1 );
289 cblas_info = 10; RowMajorStrg =
FALSE;
291 ALPHA, A, X, 1, BETA, Y, 0 );
293 cblas_info = 2; RowMajorStrg =
TRUE;
295 ALPHA, A, X, 1, BETA, Y, 1 );
297 cblas_info = 3; RowMajorStrg =
TRUE;
299 ALPHA, A, X, 1, BETA, Y, 1 );
301 cblas_info = 7; RowMajorStrg =
TRUE;
303 ALPHA, A, X, 0, BETA, Y, 1 );
305 cblas_info = 10; RowMajorStrg =
TRUE;
307 ALPHA, A, X, 1, BETA, Y, 0 );
309 }
else if (strncmp( sf,
"cblas_dtrmv",11)==0) {
310 cblas_rout =
"cblas_dtrmv";
311 cblas_info = 1; RowMajorStrg =
FALSE;
315 cblas_info = 2; RowMajorStrg =
FALSE;
319 cblas_info = 3; RowMajorStrg =
FALSE;
323 cblas_info = 4; RowMajorStrg =
FALSE;
327 cblas_info = 5; RowMajorStrg =
FALSE;
331 cblas_info = 7; RowMajorStrg =
FALSE;
335 cblas_info = 9; RowMajorStrg =
FALSE;
339 cblas_info = 2; RowMajorStrg =
TRUE;
343 cblas_info = 3; RowMajorStrg =
TRUE;
347 cblas_info = 4; RowMajorStrg =
TRUE;
351 cblas_info = 5; RowMajorStrg =
TRUE;
355 cblas_info = 7; RowMajorStrg =
TRUE;
359 cblas_info = 9; RowMajorStrg =
TRUE;
363 }
else if (strncmp( sf,
"cblas_dtbmv",11)==0) {
364 cblas_rout =
"cblas_dtbmv";
365 cblas_info = 1; RowMajorStrg =
FALSE;
369 cblas_info = 2; RowMajorStrg =
FALSE;
373 cblas_info = 3; RowMajorStrg =
FALSE;
377 cblas_info = 4; RowMajorStrg =
FALSE;
381 cblas_info = 5; RowMajorStrg =
FALSE;
385 cblas_info = 6; RowMajorStrg =
FALSE;
389 cblas_info = 8; RowMajorStrg =
FALSE;
393 cblas_info = 10; RowMajorStrg =
FALSE;
397 cblas_info = 2; RowMajorStrg =
TRUE;
401 cblas_info = 3; RowMajorStrg =
TRUE;
405 cblas_info = 4; RowMajorStrg =
TRUE;
409 cblas_info = 5; RowMajorStrg =
TRUE;
413 cblas_info = 6; RowMajorStrg =
TRUE;
417 cblas_info = 8; RowMajorStrg =
TRUE;
421 cblas_info = 10; RowMajorStrg =
TRUE;
425 }
else if (strncmp( sf,
"cblas_dtpmv",11)==0) {
426 cblas_rout =
"cblas_dtpmv";
427 cblas_info = 1; RowMajorStrg =
FALSE;
431 cblas_info = 2; RowMajorStrg =
FALSE;
435 cblas_info = 3; RowMajorStrg =
FALSE;
439 cblas_info = 4; RowMajorStrg =
FALSE;
443 cblas_info = 5; RowMajorStrg =
FALSE;
447 cblas_info = 8; RowMajorStrg =
FALSE;
451 cblas_info = 2; RowMajorStrg =
TRUE;
455 cblas_info = 3; RowMajorStrg =
TRUE;
459 cblas_info = 4; RowMajorStrg =
TRUE;
463 cblas_info = 5; RowMajorStrg =
TRUE;
467 cblas_info = 8; RowMajorStrg =
TRUE;
471 }
else if (strncmp( sf,
"cblas_dtrsv",11)==0) {
472 cblas_rout =
"cblas_dtrsv";
473 cblas_info = 1; RowMajorStrg =
FALSE;
477 cblas_info = 2; RowMajorStrg =
FALSE;
481 cblas_info = 3; RowMajorStrg =
FALSE;
485 cblas_info = 4; RowMajorStrg =
FALSE;
489 cblas_info = 5; RowMajorStrg =
FALSE;
493 cblas_info = 7; RowMajorStrg =
FALSE;
497 cblas_info = 9; RowMajorStrg =
FALSE;
501 cblas_info = 2; RowMajorStrg =
TRUE;
505 cblas_info = 3; RowMajorStrg =
TRUE;
509 cblas_info = 4; RowMajorStrg =
TRUE;
513 cblas_info = 5; RowMajorStrg =
TRUE;
517 cblas_info = 7; RowMajorStrg =
TRUE;
521 cblas_info = 9; RowMajorStrg =
TRUE;
525 }
else if (strncmp( sf,
"cblas_dtbsv",11)==0) {
526 cblas_rout =
"cblas_dtbsv";
527 cblas_info = 1; RowMajorStrg =
FALSE;
531 cblas_info = 2; RowMajorStrg =
FALSE;
535 cblas_info = 3; RowMajorStrg =
FALSE;
539 cblas_info = 4; RowMajorStrg =
FALSE;
543 cblas_info = 5; RowMajorStrg =
FALSE;
547 cblas_info = 6; RowMajorStrg =
FALSE;
551 cblas_info = 8; RowMajorStrg =
FALSE;
555 cblas_info = 10; RowMajorStrg =
FALSE;
559 cblas_info = 2; RowMajorStrg =
TRUE;
563 cblas_info = 3; RowMajorStrg =
TRUE;
567 cblas_info = 4; RowMajorStrg =
TRUE;
571 cblas_info = 5; RowMajorStrg =
TRUE;
575 cblas_info = 6; RowMajorStrg =
TRUE;
579 cblas_info = 8; RowMajorStrg =
TRUE;
583 cblas_info = 10; RowMajorStrg =
TRUE;
587 }
else if (strncmp( sf,
"cblas_dtpsv",11)==0) {
588 cblas_rout =
"cblas_dtpsv";
589 cblas_info = 1; RowMajorStrg =
FALSE;
593 cblas_info = 2; RowMajorStrg =
FALSE;
597 cblas_info = 3; RowMajorStrg =
FALSE;
601 cblas_info = 4; RowMajorStrg =
FALSE;
605 cblas_info = 5; RowMajorStrg =
FALSE;
609 cblas_info = 8; RowMajorStrg =
FALSE;
613 cblas_info = 2; RowMajorStrg =
TRUE;
617 cblas_info = 3; RowMajorStrg =
TRUE;
621 cblas_info = 4; RowMajorStrg =
TRUE;
625 cblas_info = 5; RowMajorStrg =
TRUE;
629 cblas_info = 8; RowMajorStrg =
TRUE;
633 }
else if (strncmp( sf,
"cblas_dger",10)==0) {
634 cblas_rout =
"cblas_dger";
635 cblas_info = 1; RowMajorStrg =
FALSE;
638 cblas_info = 2; RowMajorStrg =
FALSE;
641 cblas_info = 3; RowMajorStrg =
FALSE;
644 cblas_info = 6; RowMajorStrg =
FALSE;
647 cblas_info = 8; RowMajorStrg =
FALSE;
650 cblas_info = 10; RowMajorStrg =
FALSE;
653 cblas_info = 2; RowMajorStrg =
TRUE;
656 cblas_info = 3; RowMajorStrg =
TRUE;
659 cblas_info = 6; RowMajorStrg =
TRUE;
662 cblas_info = 8; RowMajorStrg =
TRUE;
665 cblas_info = 10; RowMajorStrg =
TRUE;
668 }
else if (strncmp( sf,
"cblas_dsyr2",11)==0) {
669 cblas_rout =
"cblas_dsyr2";
670 cblas_info = 1; RowMajorStrg =
FALSE;
673 cblas_info = 2; RowMajorStrg =
FALSE;
676 cblas_info = 3; RowMajorStrg =
FALSE;
679 cblas_info = 6; RowMajorStrg =
FALSE;
682 cblas_info = 8; RowMajorStrg =
FALSE;
685 cblas_info = 10; RowMajorStrg =
FALSE;
688 cblas_info = 2; RowMajorStrg =
TRUE;
691 cblas_info = 3; RowMajorStrg =
TRUE;
694 cblas_info = 6; RowMajorStrg =
TRUE;
697 cblas_info = 8; RowMajorStrg =
TRUE;
700 cblas_info = 10; RowMajorStrg =
TRUE;
703 }
else if (strncmp( sf,
"cblas_dspr2",11)==0) {
704 cblas_rout =
"cblas_dspr2";
705 cblas_info = 1; RowMajorStrg =
FALSE;
708 cblas_info = 2; RowMajorStrg =
FALSE;
711 cblas_info = 3; RowMajorStrg =
FALSE;
714 cblas_info = 6; RowMajorStrg =
FALSE;
717 cblas_info = 8; RowMajorStrg =
FALSE;
720 cblas_info = 2; RowMajorStrg =
TRUE;
723 cblas_info = 3; RowMajorStrg =
TRUE;
726 cblas_info = 6; RowMajorStrg =
TRUE;
729 cblas_info = 8; RowMajorStrg =
TRUE;
732 }
else if (strncmp( sf,
"cblas_dsyr",10)==0) {
733 cblas_rout =
"cblas_dsyr";
734 cblas_info = 1; RowMajorStrg =
FALSE;
737 cblas_info = 2; RowMajorStrg =
FALSE;
740 cblas_info = 3; RowMajorStrg =
FALSE;
743 cblas_info = 6; RowMajorStrg =
FALSE;
746 cblas_info = 8; RowMajorStrg =
FALSE;
749 cblas_info = 2; RowMajorStrg =
TRUE;
752 cblas_info = 3; RowMajorStrg =
TRUE;
755 cblas_info = 6; RowMajorStrg =
TRUE;
758 cblas_info = 8; RowMajorStrg =
TRUE;
761 }
else if (strncmp( sf,
"cblas_dspr",10)==0) {
762 cblas_rout =
"cblas_dspr";
763 cblas_info = 1; RowMajorStrg =
FALSE;
766 cblas_info = 2; RowMajorStrg =
FALSE;
769 cblas_info = 3; RowMajorStrg =
FALSE;
772 cblas_info = 6; RowMajorStrg =
FALSE;
775 cblas_info = 2; RowMajorStrg =
FALSE;
778 cblas_info = 3; RowMajorStrg =
FALSE;
781 cblas_info = 6; RowMajorStrg =
FALSE;
785 if (cblas_ok ==
TRUE)
786 printf(
" %-12s PASSED THE TESTS OF ERROR-EXITS\n", cblas_rout);
788 printf(
"******* %s FAILED THE TESTS OF ERROR-EXITS *******\n",cblas_rout);
void F77_xerbla(char *srname, void *vinfo)
void cblas_dspr2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const double alpha, const double *X, const int incX, const double *Y, const int incY, double *A)
void cblas_dtpsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const double *Ap, double *X, const int incX)
void F77_d2chke(char *rout)
void cblas_dspmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const double alpha, const double *Ap, const double *X, const int incX, const double beta, double *Y, const int incY)
void cblas_dsymv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const double alpha, const double *A, const int lda, const double *X, const int incX, const double beta, double *Y, const int incY)
void cblas_dgbmv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const int M, const int N, const int KL, const int KU, const double alpha, const double *A, const int lda, const double *X, const int incX, const double beta, double *Y, const int incY)
void cblas_dtbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const int K, const double *A, const int lda, double *X, const int incX)
void cblas_dspr(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const double alpha, const double *X, const int incX, double *Ap)
void cblas_dgemv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const int M, const int N, const double alpha, const double *A, const int lda, const double *X, const int incX, const double beta, double *Y, const int incY)
void cblas_dsbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const int K, const double alpha, const double *A, const int lda, const double *X, const int incX, const double beta, double *Y, const int incY)
void cblas_dtrsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const double *A, const int lda, double *X, const int incX)
void cblas_dger(CBLAS_LAYOUT layout, const int M, const int N, const double alpha, const double *X, const int incX, const double *Y, const int incY, double *A, const int lda)
void cblas_dsyr2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const double alpha, const double *X, const int incX, const double *Y, const int incY, double *A, const int lda)
void cblas_dsyr(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const double alpha, const double *X, const int incX, double *A, const int lda)
void cblas_dtpmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const double *Ap, double *X, const int incX)
void cblas_xerbla(int p, const char *rout, const char *form,...)
void cblas_dtbsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const int K, const double *A, const int lda, double *X, const int incX)
void cblas_dtrmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const double *A, const int lda, double *X, const int incX)