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 float A[2] = {0.0,0.0},
46 if (strncmp( sf,
"cblas_sgemv",11)==0) {
47 cblas_rout =
"cblas_sgemv";
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_sgbmv",11)==0) {
102 cblas_rout =
"cblas_sgbmv";
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_ssymv",11)==0) {
172 cblas_rout =
"cblas_ssymv";
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_ssbmv",11)==0) {
218 cblas_rout =
"cblas_ssbmv";
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_sspmv",11)==0) {
272 cblas_rout =
"cblas_sspmv";
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_strmv",11)==0) {
310 cblas_rout =
"cblas_strmv";
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_stbmv",11)==0) {
364 cblas_rout =
"cblas_stbmv";
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_stpmv",11)==0) {
426 cblas_rout =
"cblas_stpmv";
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_strsv",11)==0) {
472 cblas_rout =
"cblas_strsv";
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_stbsv",11)==0) {
526 cblas_rout =
"cblas_stbsv";
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_stpsv",11)==0) {
588 cblas_rout =
"cblas_stpsv";
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_sger",10)==0) {
634 cblas_rout =
"cblas_sger";
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_ssyr2",11)==0) {
669 cblas_rout =
"cblas_ssyr2";
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_sspr2",11)==0) {
704 cblas_rout =
"cblas_sspr2";
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_ssyr",10)==0) {
733 cblas_rout =
"cblas_ssyr";
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_sspr",10)==0) {
762 cblas_rout =
"cblas_sspr";
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 cblas_ssbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const int K, const float alpha, const float *A, const int lda, const float *X, const int incX, const float beta, float *Y, const int incY)
void F77_xerbla(char *srname, void *vinfo)
void cblas_ssymv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const float *A, const int lda, const float *X, const int incX, const float beta, float *Y, const int incY)
void cblas_sspmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const float *Ap, const float *X, const int incX, const float beta, float *Y, const int incY)
void cblas_stpmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const float *Ap, float *X, const int incX)
void cblas_sspr(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const float *X, const int incX, float *Ap)
void cblas_stbsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const int K, const float *A, const int lda, float *X, const int incX)
void F77_s2chke(char *rout)
void cblas_ssyr2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const float *X, const int incX, const float *Y, const int incY, float *A, const int lda)
void cblas_sger(CBLAS_LAYOUT layout, const int M, const int N, const float alpha, const float *X, const int incX, const float *Y, const int incY, float *A, const int lda)
void cblas_strmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const float *A, const int lda, float *X, const int incX)
void cblas_stpsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const float *Ap, float *X, const int incX)
void cblas_ssyr(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const float *X, const int incX, float *A, const int lda)
void cblas_sgemv(const CBLAS_LAYOUT layout, const CBLAS_TRANSPOSE TransA, const int M, const int N, const float alpha, const float *A, const int lda, const float *X, const int incX, const float beta, float *Y, const int incY)
void cblas_stbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const int K, const float *A, const int lda, float *X, const int incX)
void cblas_sgbmv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const int M, const int N, const int KL, const int KU, const float alpha, const float *A, const int lda, const float *X, const int incX, const float beta, float *Y, const int incY)
void cblas_xerbla(int p, const char *rout, const char *form,...)
void cblas_strsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const int N, const float *A, const int lda, float *X, const int incX)
void cblas_sspr2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const int N, const float alpha, const float *X, const int incX, const float *Y, const int incY, float *A)