Browse Source

enabled and tested optimized sgetrf lapack function

tags/v0.2.9^2
wernsaar 11 years ago
parent
commit
eea6f51df9
2 changed files with 10 additions and 6 deletions
  1. +9
    -5
      interface/Makefile
  2. +1
    -1
      lapack-netlib/SRC/Makefile

+ 9
- 5
interface/Makefile View File

@@ -342,10 +342,14 @@ CBLASOBJS = $(CBLAS1OBJS) $(CBLAS2OBJS) $(CBLAS3OBJS)
ZBLASOBJS = $(ZBLAS1OBJS) $(ZBLAS2OBJS) $(ZBLAS3OBJS)
XBLASOBJS = $(XBLAS1OBJS) $(XBLAS2OBJS) $(XBLAS3OBJS)

#SLAPACKOBJS = \
# sgetf2.$(SUFFIX) sgetrf.$(SUFFIX) slauu2.$(SUFFIX) slauum.$(SUFFIX) \
# spotf2.$(SUFFIX) spotrf.$(SUFFIX) strti2.$(SUFFIX) strtri.$(SUFFIX) \
# slaswp.$(SUFFIX) sgetrs.$(SUFFIX) sgesv.$(SUFFIX) spotri.$(SUFFIX) \

SLAPACKOBJS = \
sgetf2.$(SUFFIX) sgetrf.$(SUFFIX) slauu2.$(SUFFIX) slauum.$(SUFFIX) \
spotf2.$(SUFFIX) spotrf.$(SUFFIX) strti2.$(SUFFIX) strtri.$(SUFFIX) \
slaswp.$(SUFFIX) sgetrs.$(SUFFIX) sgesv.$(SUFFIX) spotri.$(SUFFIX) \
sgetrf.$(SUFFIX)


#DLAPACKOBJS = \
# dgetf2.$(SUFFIX) dgetrf.$(SUFFIX) dlauu2.$(SUFFIX) dlauum.$(SUFFIX) \
@@ -379,7 +383,7 @@ XLAPACKOBJS = \
xlaswp.$(SUFFIX) xgetrs.$(SUFFIX) xgesv.$(SUFFIX) xpotri.$(SUFFIX) \

ifneq ($(NO_LAPACK), 1)
#SBLASOBJS += $(SLAPACKOBJS)
SBLASOBJS += $(SLAPACKOBJS)
DBLASOBJS += $(DLAPACKOBJS)
#QBLASOBJS += $(QLAPACKOBJS)
#CBLASOBJS += $(CLAPACKOBJS)
@@ -1755,7 +1759,7 @@ zgetf2.$(SUFFIX) zgetf2.$(PSUFFIX) : zgetf2.c
xgetf2.$(SUFFIX) xgetf2.$(PSUFFIX) : zgetf2.c
$(CC) -c $(CFLAGS) $< -o $(@F)

sgetrf.$(SUFFIX) sgetrf.$(PSUFFIX) : getrf.c
sgetrf.$(SUFFIX) sgetrf.$(PSUFFIX) : lapack/getrf.c
$(CC) -c $(CFLAGS) $< -o $(@F)

dgetrf.$(SUFFIX) dgetrf.$(PSUFFIX) : lapack/getrf.c


+ 1
- 1
lapack-netlib/SRC/Makefile View File

@@ -157,7 +157,7 @@ SLASRC = \
sgeqrt.o sgeqrt2.o sgeqrt3.o sgemqrt.o \
stpqrt.o stpqrt2.o stpmqrt.o stprfb.o

DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o
DSLASRC = spotrs.o sgetrs.o spotrf.o

ifdef USEXBLAS
SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o \


Loading…
Cancel
Save