Commit Graph
23 Commits
Author SHA1 Message Date
langou 6b92a7affa Merge pull request #1048 from grisuthedragon/implement-axpby 2025-09-19 09:11:21 -06:00
Mark Gates 97b0bedb32 implicit none in BLAS 2025-08-22 01:02:05 -04:00
Martin Köhler ad70e7218f Tests for C/S/D/ZAXBPY 2024-08-26 16:27:18 +02:00
Mo Zhou d371e22ff0 Fix the wrong implementation of the new tests for xblat1.f. (Fixes: #963)
Since this is a regression after upgrading from v3.11.0 to v3.12.0, we can
narrow down the range of the bug into the newly added SB1NRM2 subroutine.
According to the buildlog and the documentation in the code, the VALUES(9),
calculated as SXVALS(XX,2) should be infty. But the current code is returning
a zero (or randomly) initialized variable YY, which does not make sense.

In fact, if you go back to the reference implementation, namely the
supplementary material of this paper
  https://dl.acm.org/doi/abs/10.1145/3061665
You can find a similar implementation of the SXVALS function in the
`la_xxvals.F90` file. This patch corrests the test following the reference
code.
2023-12-21 13:58:38 -05:00
Angelika Schwarz 26df4b3599 Improve testing of NRM2
Add tests covering arrays with extreme numbers provided in
Anderson E. (2017)
Algorithm 978: Safe Scaling in the Level 1 BLAS
ACM Trans Math Softw 44:1--28
https://doi.org/10.1145/3061665

[D,S]NRM2 coverage improves
lines     59.1% -> 100.0%
branches  30.0% ->  90.0%.

[DZ,SC]NRM2 coverage improves
lines     67.0% -> 100.0%
branches  41.7% ->  91.7%
2023-11-12 07:44:37 +01:00
Igor Zhuravlov b7eb1941ff comments unified: 'End of' comment: added where omitted 2021-04-06 18:07:24 -03:00
Julie e18d437924 Making LAPACK's code eternal... no more version and date in source files.
GitHub is now enabling us to track accurately version and date.
No need for this anymore.
2021-03-25 10:16:58 -07:00
Mat Cross c940e4d202 Just run zero-increment copy tests once, and with INCX/INCY explicitly set to aid tracing. 2020-03-30 13:34:27 +01:00
Mat Cross 0ba87d645e Added test of I?AMAX when there are multiple maxima. 2020-03-25 09:56:47 +00:00
Mat Cross 8dace582fb Added test of I*AMAX when the input vector is constant.
Added test of *COPY when the source and target have increment 0.
2020-03-18 11:55:32 +00:00
luzpaz 3fac41ca28 Fix misc. typos
Mostly trivial source code comments.
2017-12-01 06:55:48 -05:00
Julie d97a30482e Updating Version number on files for 3.8.0 2017-11-12 20:15:12 -08:00
Nick Papior dc0e59aff5 Fixed (alot) missing external subroutines and removed "dead" variables
This commit is purely of cleaning up missing externals. Currently there
is no check on EXTERNAL's not used.

Signed-off-by: Nick Papior <nickpapior@gmail.com>
2017-11-05 07:47:18 +01:00
Julie bc6a755be4 Updating version number on source file modified since 3.6.1
This is really old school, but a lot of times we have users sending us
copy pasting of codes, and that is the only way to know the version of
the code.
2016-12-23 15:01:32 -08:00
Hans Johnson 9dafba6d41 STYLE: Remove trailing whitespace in Fortran files
This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================
2016-07-09 11:19:34 -05:00
julie f0b200da5b Update version number 2012-04-13 18:22:32 +00:00
james 5906b88423 Fixed problem with optimizer breaking error checking, now using F90 EPSILON intrinsic.
Thanks to Harald Anlauf for providing the solution.
2012-01-20 15:12:13 +00:00
julie 4029478e7b Correct some more new lines in program - Thanks Igor for finding out the problem 2011-11-23 18:10:47 +00:00
julie 1c3ba60067 Cosmetic changes in Doxygen presentation.
Use \par instead of \details for section.

add a Contributors Section and a Reference Section.
Remove (some) verbatim section when not needed.
Those changes have been done by hand so I am not sure I manage to catch them all.
2011-11-03 20:32:56 +00:00
julie e1d39294ae Integrating Doxygen in comments 2011-10-06 06:53:11 +00:00
julie 46b5d7df01 Replace DOUBLE COMPLEX by COMPLEX*16
Replace SNGL by REAL
2011-08-15 18:25:57 +00:00
julie 1767365dbf Remove GO TO STATEMENT in DROTMG/DROTM and SROTMG/SROTM.
Incorporate OLD Testings from ACM Collected algorithms : algorithm 539 
for:
   - DROTMG/SROTMG
   - DROTM/SROTM
   - DSDOT / SDSDOT

All BLAS routines are now tested.
Now up to us to change the BLAS but at least this is consistent.
2011-03-16 22:52:01 +00:00
jason baba851215 Move LAPACK trunk into position. 2008-10-28 01:38:50 +00:00