Skip to content

Commit

Permalink
Updated variants information as well as fixed trailing line in zlarft
Browse files Browse the repository at this point in the history
  • Loading branch information
jprhyne committed Nov 30, 2024
1 parent db48820 commit e9b05ef
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
10 changes: 8 additions & 2 deletions SRC/VARIANTS/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ LUREC = lu/REC/cgetrf.o lu/REC/dgetrf.o lu/REC/sgetrf.o lu/REC/zgetrf.o

QRLL = qr/LL/cgeqrf.o qr/LL/dgeqrf.o qr/LL/sgeqrf.o qr/LL/zgeqrf.o

LARFTL2 = larft/LL-LVL2/clarft.o larft/LL-LVL2/dlarft.o larft/LL-LVL2/slarft.o larft/LL-LVL2/zlarft.o


.PHONY: all
all: cholrl.a choltop.a lucr.a lull.a lurec.a qrll.a
all: cholrl.a choltop.a lucr.a lull.a lurec.a qrll.a larftl2.a

cholrl.a: $(CHOLRL)
$(AR) $(ARFLAGS) $@ $^
Expand All @@ -58,9 +60,13 @@ qrll.a: $(QRLL)
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@

larftl2.a: $(LARFTL2)
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@

.PHONY: clean cleanobj cleanlib
clean: cleanobj cleanlib
cleanobj:
rm -f $(CHOLRL) $(CHOLTOP) $(LUCR) $(LULL) $(LUREC) $(QRLL)
rm -f $(CHOLRL) $(CHOLTOP) $(LUCR) $(LULL) $(LUREC) $(QRLL) $(LARFTL2)
cleanlib:
rm -f *.a
2 changes: 2 additions & 0 deletions SRC/VARIANTS/README
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This directory contains several variants of LAPACK routines in single/double/com
- [sdcz]geqrf with QR Left Looking Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/qr/LL
- [sdcz]potrf with Cholesky Right Looking Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/cholesky/RL
- [sdcz]potrf with Cholesky Top Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/cholesky/TOP
- [sdcz]larft using a Left Looking Level 2 BLAS version algorithm - Directory: SRC/VARIANTS/larft/LL-LVL2

References:For a more detailed description please refer to
- [1] Toledo, S. 1997. Locality of Reference in LU Decomposition with Partial Pivoting. SIAM J. Matrix Anal. Appl. 18, 4 (Oct. 1997),
Expand All @@ -44,6 +45,7 @@ Corresponding libraries created in SRC/VARIANTS:
- QR Left Looking : qrll.a
- Cholesky Right Looking : cholrl.a
- Cholesky Top : choltop.a
- LARFT Level 2: larftl2.a


===========
Expand Down
2 changes: 1 addition & 1 deletion SRC/VARIANTS/larft/LL-LVL2/clarft.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*> \brief \b CLARFT forms the triangular factor T of a block reflector H = I - vtvH
*> \brief \b CLARFT VARIANT: left-looking Level 2 BLAS version of the algorithm
*
* =========== DOCUMENTATION ===========
*
Expand Down
2 changes: 1 addition & 1 deletion SRC/VARIANTS/larft/LL-LVL2/dlarft.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*> \brief \b DLARFT forms the triangular factor T of a block reflector H = I - vtvH
*> \brief \b DLARFT VARIANT: left-looking Level 2 BLAS version of the algorithm
*
* =========== DOCUMENTATION ===========
*
Expand Down
2 changes: 1 addition & 1 deletion SRC/VARIANTS/larft/LL-LVL2/slarft.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*> \brief \b SLARFT forms the triangular factor T of a block reflector H = I - vtvH
*> \brief \b SLARFT VARIANT: left-looking Level 2 BLAS version of the algorithm.
*
* =========== DOCUMENTATION ===========
*
Expand Down
2 changes: 1 addition & 1 deletion SRC/VARIANTS/larft/LL-LVL2/zlarft.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*> \brief \b ZLARFT forms the triangular factor T of a block reflector H = I - vtvH
*> \brief \b ZLARFT VARIANT: left-looking Level 2 BLAS version of the algorithm.
*
* =========== DOCUMENTATION ===========
*
Expand Down
4 changes: 2 additions & 2 deletions SRC/zlarft.f
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@
*> \endverbatim
*>
* =====================================================================
RECURSIVE SUBROUTINE ZLARFT( DIRECT, STOREV, N, K, V, LDV, TAU, T,
$ LDT )
RECURSIVE SUBROUTINE ZLARFT( DIRECT, STOREV, N, K, V, LDV,
$ TAU, T, LDT )
*
* -- LAPACK auxiliary routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
Expand Down

0 comments on commit e9b05ef

Please sign in to comment.