9 INTEGER ICASE, INCX, INCY, MODE, N
17 COMMON /combla/icase, n, incx, incy, mode, pass
19 DATA sfac/9.765625e-4/
37 ELSE IF (icase.EQ.7 .OR. icase.EQ.8 .OR. icase.EQ.9 .OR.
40 ELSE IF (icase.EQ.1 .OR. icase.EQ.2 .OR. icase.EQ.5 .OR.
43 ELSE IF (icase.EQ.4)
THEN
47 IF (pass)
WRITE (nout,99998)
51 99999
FORMAT (
' Real CBLAS Test Program Results',/1x)
52 99998
FORMAT (
' ----- PASS -----')
59 INTEGER ICASE, INCX, INCY, MODE, N
64 COMMON /combla/icase, n, incx, incy, mode, pass
66 DATA l(1)/
'CBLAS_SDOT '/
67 DATA l(2)/
'CBLAS_SAXPY '/
68 DATA l(3)/
'CBLAS_SROTG '/
69 DATA l(4)/
'CBLAS_SROT '/
70 DATA l(5)/
'CBLAS_SCOPY '/
71 DATA l(6)/
'CBLAS_SSWAP '/
72 DATA l(7)/
'CBLAS_SNRM2 '/
73 DATA l(8)/
'CBLAS_SASUM '/
74 DATA l(9)/
'CBLAS_SSCAL '/
75 DATA l(10)/
'CBLAS_ISAMAX'/
77 WRITE (nout,99999) icase, l(icase)
80 99999
FORMAT (/
' Test of subprogram number',i3,9x,a15)
89 INTEGER ICASE, INCX, INCY, MODE, N
95 REAL DA1(8), DATRUE(8), DB1(8), DBTRUE(8), DC1(8),
100 COMMON /combla/icase, n, incx, incy, mode, pass
102 DATA da1/0.3e0, 0.4e0, -0.3e0, -0.4e0, -0.3e0, 0.0e0,
104 DATA db1/0.4e0, 0.3e0, 0.4e0, 0.3e0, -0.4e0, 0.0e0,
106 DATA dc1/0.6e0, 0.8e0, -0.6e0, 0.8e0, 0.6e0, 1.0e0,
108 DATA ds1/0.8e0, 0.6e0, 0.8e0, -0.6e0, 0.8e0, 0.0e0,
110 DATA datrue/0.5e0, 0.5e0, 0.5e0, -0.5e0, -0.5e0,
111 + 0.0e0, 1.0e0, 1.0e0/
112 DATA dbtrue/0.0e0, 0.6e0, 0.0e0, -0.6e0, 0.0e0,
113 + 0.0e0, 1.0e0, 0.0e0/
119 dbtrue(1) = 1.0e0/0.6e0
120 dbtrue(3) = -1.0e0/0.6e0
121 dbtrue(5) = 1.0e0/0.6e0
131 CALL srotgtest(sa,sb,sc,ss)
132 CALL stest1(sa,datrue(k),datrue(k),sfac)
133 CALL stest1(sb,dbtrue(k),dbtrue(k),sfac)
134 CALL stest1(sc,dc1(k),dc1(k),sfac)
135 CALL stest1(ss,ds1(k),ds1(k),sfac)
137 WRITE (nout,*)
' Shouldn''t be here in CHECK0'
150 INTEGER ICASE, INCX, INCY, MODE, N
155 REAL DTRUE1(5), DTRUE3(5), DTRUE5(8,5,2), DV(8,5,2),
156 + sa(10), stemp(1), strue(8), sx(8)
159 REAL SASUMTEST, SNRM2TEST
161 EXTERNAL sasumtest, snrm2test, isamaxtest
167 COMMON /combla/icase, n, incx, incy, mode, pass
169 DATA sa/0.3e0, -1.0e0, 0.0e0, 1.0e0, 0.3e0, 0.3e0,
170 + 0.3e0, 0.3e0, 0.3e0, 0.3e0/
171 DATA dv/0.1e0, 2.0e0, 2.0e0, 2.0e0, 2.0e0, 2.0e0,
172 + 2.0e0, 2.0e0, 0.3e0, 3.0e0, 3.0e0, 3.0e0, 3.0e0,
173 + 3.0e0, 3.0e0, 3.0e0, 0.3e0, -0.4e0, 4.0e0,
174 + 4.0e0, 4.0e0, 4.0e0, 4.0e0, 4.0e0, 0.2e0,
175 + -0.6e0, 0.3e0, 5.0e0, 5.0e0, 5.0e0, 5.0e0,
176 + 5.0e0, 0.1e0, -0.3e0, 0.5e0, -0.1e0, 6.0e0,
177 + 6.0e0, 6.0e0, 6.0e0, 0.1e0, 8.0e0, 8.0e0, 8.0e0,
178 + 8.0e0, 8.0e0, 8.0e0, 8.0e0, 0.3e0, 9.0e0, 9.0e0,
179 + 9.0e0, 9.0e0, 9.0e0, 9.0e0, 9.0e0, 0.3e0, 2.0e0,
180 + -0.4e0, 2.0e0, 2.0e0, 2.0e0, 2.0e0, 2.0e0,
181 + 0.2e0, 3.0e0, -0.6e0, 5.0e0, 0.3e0, 2.0e0,
182 + 2.0e0, 2.0e0, 0.1e0, 4.0e0, -0.3e0, 6.0e0,
183 + -0.5e0, 7.0e0, -0.1e0, 3.0e0/
184 DATA dtrue1/0.0e0, 0.3e0, 0.5e0, 0.7e0, 0.6e0/
185 DATA dtrue3/0.0e0, 0.3e0, 0.7e0, 1.1e0, 1.0e0/
186 DATA dtrue5/0.10e0, 2.0e0, 2.0e0, 2.0e0, 2.0e0,
187 + 2.0e0, 2.0e0, 2.0e0, -0.3e0, 3.0e0, 3.0e0,
188 + 3.0e0, 3.0e0, 3.0e0, 3.0e0, 3.0e0, 0.0e0, 0.0e0,
189 + 4.0e0, 4.0e0, 4.0e0, 4.0e0, 4.0e0, 4.0e0,
190 + 0.20e0, -0.60e0, 0.30e0, 5.0e0, 5.0e0, 5.0e0,
191 + 5.0e0, 5.0e0, 0.03e0, -0.09e0, 0.15e0, -0.03e0,
192 + 6.0e0, 6.0e0, 6.0e0, 6.0e0, 0.10e0, 8.0e0,
193 + 8.0e0, 8.0e0, 8.0e0, 8.0e0, 8.0e0, 8.0e0,
194 + 0.09e0, 9.0e0, 9.0e0, 9.0e0, 9.0e0, 9.0e0,
195 + 9.0e0, 9.0e0, 0.09e0, 2.0e0, -0.12e0, 2.0e0,
196 + 2.0e0, 2.0e0, 2.0e0, 2.0e0, 0.06e0, 3.0e0,
197 + -0.18e0, 5.0e0, 0.09e0, 2.0e0, 2.0e0, 2.0e0,
198 + 0.03e0, 4.0e0, -0.09e0, 6.0e0, -0.15e0, 7.0e0,
200 DATA itrue2/0, 1, 2, 2, 3/
208 sx(i) = dv(i,np1,incx)
213 stemp(1) = dtrue1(np1)
214 CALL stest1(snrm2test(n,sx,incx),stemp,stemp,sfac)
215 ELSE IF (icase.EQ.8)
THEN
217 stemp(1) = dtrue3(np1)
218 CALL stest1(sasumtest(n,sx,incx),stemp,stemp,sfac)
219 ELSE IF (icase.EQ.9)
THEN
221 CALL sscaltest(n,sa((incx-1)*5+np1),sx,incx)
223 strue(i) = dtrue5(i,np1,incx)
225 CALL stest(len,sx,strue,strue,sfac)
226 ELSE IF (icase.EQ.10)
THEN
228 CALL itest1(isamaxtest(n,sx,incx),itrue2(np1))
230 WRITE (nout,*)
' Shouldn''t be here in CHECK1'
244 INTEGER ICASE, INCX, INCY, MODE, N
248 INTEGER I, J, KI, KN, KSIZE, LENX, LENY, MX, MY
250 REAL DT10X(7,4,4), DT10Y(7,4,4), DT7(4,4),
251 + dt8(7,4,4), dx1(7),
252 + dy1(7), ssize1(4), ssize2(14,2), stx(7), sty(7),
254 INTEGER INCXS(4), INCYS(4), LENS(4,2), NS(4)
259 EXTERNAL saxpytest, scopytest, sswaptest,
stest,
stest1
263 COMMON /combla/icase, n, incx, incy, mode, pass
266 DATA incxs/1, 2, -2, -1/
267 DATA incys/1, -2, 1, -2/
268 DATA lens/1, 1, 2, 4, 1, 1, 3, 7/
270 DATA dx1/0.6e0, 0.1e0, -0.5e0, 0.8e0, 0.9e0, -0.3e0,
272 DATA dy1/0.5e0, -0.9e0, 0.3e0, 0.7e0, -0.6e0, 0.2e0,
274 DATA dt7/0.0e0, 0.30e0, 0.21e0, 0.62e0, 0.0e0,
275 + 0.30e0, -0.07e0, 0.85e0, 0.0e0, 0.30e0, -0.79e0,
276 + -0.74e0, 0.0e0, 0.30e0, 0.33e0, 1.27e0/
277 DATA dt8/0.5e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
278 + 0.0e0, 0.68e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
279 + 0.0e0, 0.0e0, 0.68e0, -0.87e0, 0.0e0, 0.0e0,
280 + 0.0e0, 0.0e0, 0.0e0, 0.68e0, -0.87e0, 0.15e0,
281 + 0.94e0, 0.0e0, 0.0e0, 0.0e0, 0.5e0, 0.0e0,
282 + 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.68e0,
283 + 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 0.6e0, 0.0e0, 0.0e0,
327 + 0.0e0, 0.5e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
328 + 0.0e0, 0.6e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
329 + 0.0e0, 0.6e0, -0.9e0, 0.1e0, 0.0e0, 0.0e0,
330 + 0.0e0, 0.0e0, 0.6e0, -0.9e0, 0.1e0, 0.7e0,
331 + -0.5e0, 0.2e0, 0.8e0/
332 DATA ssize1/0.0e0, 0.3e0, 1.6e0, 3.2e0/
333 DATA ssize2/0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
334 + 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
335 + 0.0e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0,
336 + 1.17e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0,
337 + 1.17e0, 1.17e0, 1.17e0/
359 CALL stest1(sdottest(n,sx,incx,sy,incy),dt7(kn,ki),
361 ELSE IF (icase.EQ.2)
THEN
363 CALL saxpytest(n,sa,sx,incx,sy,incy)
365 sty(j) = dt8(j,kn,ki)
367 CALL stest(leny,sy,sty,ssize2(1,ksize),sfac)
368 ELSE IF (icase.EQ.5)
THEN
371 sty(i) = dt10y(i,kn,ki)
373 CALL scopytest(n,sx,incx,sy,incy)
374 CALL stest(leny,sy,sty,ssize2(1,1),1.0e0)
375 ELSE IF (icase.EQ.6)
THEN
377 CALL sswaptest(n,sx,incx,sy,incy)
379 stx(i) = dt10x(i,kn,ki)
380 sty(i) = dt10y(i,kn,ki)
382 CALL stest(lenx,sx,stx,ssize2(1,1),1.0e0)
383 CALL stest(leny,sy,sty,ssize2(1,1),1.0e0)
385 WRITE (nout,*)
' Shouldn''t be here in CHECK2'
399 INTEGER ICASE, INCX, INCY, MODE, N
403 INTEGER I, K, KI, KN, KSIZE, LENX, LENY, MX, MY
405 REAL COPYX(5), COPYY(5), DT9X(7,4,4), DT9Y(7,4,4),
406 + dx1(7), dy1(7), mwpc(11), mwps(11), mwpstx(5),
407 + mwpsty(5), mwptx(11,5), mwpty(11,5), mwpx(5),
408 + mwpy(5), ssize2(14,2), stx(7), sty(7), sx(7),
410 INTEGER INCXS(4), INCYS(4), LENS(4,2), MWPINX(11),
411 + mwpiny(11), mwpn(11), ns(4)
413 EXTERNAL srottest,
stest
417 COMMON /combla/icase, n, incx, incy, mode, pass
419 DATA incxs/1, 2, -2, -1/
420 DATA incys/1, -2, 1, -2/
421 DATA lens/1, 1, 2, 4, 1, 1, 3, 7/
423 DATA dx1/0.6e0, 0.1e0, -0.5e0, 0.8e0, 0.9e0, -0.3e0,
425 DATA dy1/0.5e0, -0.9e0, 0.3e0, 0.7e0, -0.6e0, 0.2e0,
427 DATA sc, ss/0.8e0, 0.6e0/
428 DATA dt9x/0.6e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
429 + 0.0e0, 0.78e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
430 + 0.0e0, 0.0e0, 0.78e0, -0.46e0, 0.0e0, 0.0e0,
431 + 0.0e0, 0.0e0, 0.0e0, 0.78e0, -0.46e0, -0.22e0,
432 + 1.06e0, 0.0e0, 0.0e0, 0.0e0, 0.6e0, 0.0e0,
433 + 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.78e0,
434 + 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
435 + 0.66e0, 0.1e0, -0.1e0, 0.0e0, 0.0e0, 0.0e0,
436 + 0.0e0, 0.96e0, 0.1e0, -0.76e0, 0.8e0, 0.90e0,
437 + -0.3e0, -0.02e0, 0.6e0, 0.0e0, 0.0e0, 0.0e0,
438 + 0.0e0, 0.0e0, 0.0e0, 0.78e0, 0.0e0, 0.0e0,
439 + 0.0e0, 0.0e0, 0.0e0, 0.0e0, -0.06e0, 0.1e0,
440 + -0.1e0, 0.0e0, 0.0e0, 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 0.0e0,
463 + 0.0e0, 0.04e0, -0.9e0, 0.18e0, 0.0e0, 0.0e0,
464 + 0.0e0, 0.0e0, 0.04e0, -0.9e0, 0.18e0, 0.7e0,
465 + -0.18e0, 0.2e0, 0.16e0/
466 DATA ssize2/0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
467 + 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0, 0.0e0,
468 + 0.0e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0,
469 + 1.17e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0, 1.17e0,
470 + 1.17e0, 1.17e0, 1.17e0/
490 stx(i) = dt9x(i,kn,ki)
491 sty(i) = dt9y(i,kn,ki)
493 CALL srottest(n,sx,incx,sy,incy,sc,ss)
494 CALL stest(lenx,sx,stx,ssize2(1,ksize),sfac)
495 CALL stest(leny,sy,sty,ssize2(1,ksize),sfac)
497 WRITE (nout,*)
' Shouldn''t be here in CHECK3'
589 mwpstx(k) = mwptx(i,k)
590 mwpsty(k) = mwpty(i,k)
592 CALL srottest(mwpn(i),copyx,incx,copyy,incy,mwpc(i),mwps(i))
593 CALL stest(5,copyx,mwpstx,mwpstx,sfac)
594 CALL stest(5,copyy,mwpsty,mwpsty,sfac)
598 SUBROUTINE stest(LEN,SCOMP,STRUE,SSIZE,SFAC)
614 REAL SCOMP(len), SSIZE(len), STRUE(len)
616 INTEGER ICASE, INCX, INCY, MODE, N
627 COMMON /combla/icase, n, incx, incy, mode, pass
631 sd = scomp(i) - strue(i)
632 IF (sdiff(abs(ssize(i))+abs(sfac*sd),abs(ssize(i))).EQ.0.0e0)
637 IF ( .NOT. pass)
GO TO 20
642 20
WRITE (nout,99997) icase, n, incx, incy, mode, i, scomp(i),
643 + strue(i), sd, ssize(i)
647 99999
FORMAT (
' FAIL')
648 99998
FORMAT (/
' CASE N INCX INCY MODE I ',
649 +
' COMP(I) TRUE(I) DIFFERENCE',
651 99997
FORMAT (1x,i4,i3,3i5,i3,2e36.8,2e12.4)
653 SUBROUTINE stest1(SCOMP1,STRUE1,SSIZE,SFAC)
663 REAL SCOMP1, SFAC, STRUE1
667 REAL SCOMP(1), STRUE(1)
674 CALL stest(1,scomp,strue,ssize,sfac)
678 REAL FUNCTION sdiff(SA,SB)
688 SUBROUTINE itest1(ICOMP,ITRUE)
701 INTEGER ICASE, INCX, INCY, MODE, N
706 COMMON /combla/icase, n, incx, incy, mode, pass
709 IF (icomp.EQ.itrue)
GO TO 40
713 IF ( .NOT. pass)
GO TO 20
718 20 id = icomp - itrue
719 WRITE (nout,99997) icase, n, incx, incy, mode, icomp, itrue, id
723 99999
FORMAT (
' FAIL')
724 99998
FORMAT (/
' CASE N INCX INCY MODE ',
725 +
' COMP TRUE DIFFERENCE',
727 99997
FORMAT (1x,i4,i3,3i5,2i36,i12)
subroutine itest1(ICOMP, ITRUE)
subroutine stest1(SCOMP1, STRUE1, SSIZE, SFAC)
real function sdiff(SA, SB)
subroutine stest(LEN, SCOMP, STRUE, SSIZE, SFAC)