diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:18:08 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:19:33 -0500 |
commit | 9c7f84bd600f53c59f89f16ad745e3be5cab2f07 (patch) | |
tree | cecbca4ae14e2eff829cfd9627c83237d2f339b6 /LAPACKE | |
parent | 78d32fd2a6d030d388981f096014c764ff7898f5 (diff) |
STYLE: Remove trailing whitespace in MISC 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
=================================================
Diffstat (limited to 'LAPACKE')
-rw-r--r-- | LAPACKE/Makefile | 4 | ||||
-rw-r--r-- | LAPACKE/README | 32 | ||||
-rw-r--r-- | LAPACKE/cmake/tmp.dnyp4S2eiM | 0 | ||||
-rw-r--r-- | LAPACKE/example/Makefile | 4 | ||||
-rw-r--r-- | LAPACKE/src/Makefile | 4 |
5 files changed, 22 insertions, 22 deletions
diff --git a/LAPACKE/Makefile b/LAPACKE/Makefile index 2eedab23..8d282880 100644 --- a/LAPACKE/Makefile +++ b/LAPACKE/Makefile @@ -42,7 +42,7 @@ # include ../make.inc -all: lapacke +all: lapacke lapacke: cd include && cp lapacke_mangling_with_flags.h.in lapacke_mangling.h @@ -51,7 +51,7 @@ lapacke: lapacke_example: cd example && $(MAKE) - + clean: cleanlib cleanlib: diff --git a/LAPACKE/README b/LAPACKE/README index 343de50d..205ce6c3 100644 --- a/LAPACKE/README +++ b/LAPACKE/README @@ -6,25 +6,25 @@ Introduction ------------------------------------------------------------------------------- This library is a part of reference implementation for the C interface to -LAPACK project according to the specifications described at the forum for +LAPACK project according to the specifications described at the forum for the Intel(R) Math Kernel Library (Intel(R) MKL): http://software.intel.com/en-us/forums/showthread.php?t=61234 This implementation provides a native C interface to LAPACK routines available -at www.netlib.org/lapack to facilitate usage of LAPACK functionality +at www.netlib.org/lapack to facilitate usage of LAPACK functionality for C programmers. This implementation introduces: -- row-major and column-major matrix layout controlled by the first function +- row-major and column-major matrix layout controlled by the first function parameter; -- an implementation with working arrays (middle-level interface) as well as +- an implementation with working arrays (middle-level interface) as well as without working arrays (high-level interface); - input scalars passed by value; - error code as a return value instead of the INFO parameter. -This implementation supports both the ILP64 and LP64 programming models, +This implementation supports both the ILP64 and LP64 programming models, and different complex type styles: structure, C99. -This implementation includes interfaces for the LAPACK-3.2.1 Driver and +This implementation includes interfaces for the LAPACK-3.2.1 Driver and Computational routines only. ------------------------------------------------------------------------------- @@ -42,12 +42,12 @@ Installation ------------------------------------------------------------------------------- The reference code for the C interface to LAPACK is built similarly to the -Basic Linear Algebra Subprograms (BLAS) and LAPACK. The build system produces +Basic Linear Algebra Subprograms (BLAS) and LAPACK. The build system produces a static binary lapacke.a. You need to provide a make.inc file in the top directory that defines the compiler, compiler flags, names for binaries to be created/linked to. You may -choose the appropriate LP64/ILP64 model, convenient complex type style, +choose the appropriate LP64/ILP64 model, convenient complex type style, LAPACKE name pattern, and/or redefine system malloc/free in make.inc. Several examples of make.inc are provided. @@ -75,7 +75,7 @@ typedef struct { double real, imag; } _lapack_complex_double; #define lapack_complex_float _lapack_complex_float #define lapack_complex_double _lapack_complex_double -3) C++ complex types (set by enabling in the configuration file): +3) C++ complex types (set by enabling in the configuration file): -DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_CPP #define lapack_complex_float std::complex<float> @@ -87,9 +87,9 @@ You have to compile the interface with C++ compiler with C++ types. -DLAPACK_COMPLEX_CUSTOM To use custom complex types, you need to: -- Define lapack_complex_float/lapack_complex_double types on your own. +- Define lapack_complex_float/lapack_complex_double types on your own. - Optionally define lapack_make_complex_float/lapack_make_complex_double_real - functions if you want to build the testing suite supplied. Use these + functions if you want to build the testing suite supplied. Use these functions for the testing system. Their purpose is to make a complex value of a real part re, imaginary part im. The prototypes are as follows: @@ -99,7 +99,7 @@ To use custom complex types, you need to: ------------------------------------------------------------------------------- Choosing ILP64 Data Model ------------------------------------------------------------------------------- -To choose ILP64 data model (set by enabling in the configuration file), use the +To choose ILP64 data model (set by enabling in the configuration file), use the following options: -DHAVE_LAPACK_CONFIG_H -DLAPACK_ILP64 @@ -108,7 +108,7 @@ following options: Using Predicate Functions ------------------------------------------------------------------------------- -The functions +The functions lapacke_?gees/lapacke_?gees_work lapacke_?geesx/lapacke_?geesx_work @@ -139,8 +139,8 @@ The row-major matrices are transposed on entry to and on exit from the LAPACK routine, if needed. Top-level interfaces additionally allocate/deallocate working space on entry to and on exit from the LAPACK routine. -Because of possible additional transpositions, a routine called with -this interface may require more memory space and run slower than the +Because of possible additional transpositions, a routine called with +this interface may require more memory space and run slower than the corresponding LAPACK routine. ------------------------------------------------------------------------------- @@ -185,7 +185,7 @@ numbers differentiate features within each processor family, not across different processor families. See http://www.intel.com/products/processor_number for details. -This document contains information on products in the design phase of +This document contains information on products in the design phase of development. BunnyPeople, Celeron, Celeron Inside, Centrino, Centrino Atom, diff --git a/LAPACKE/cmake/tmp.dnyp4S2eiM b/LAPACKE/cmake/tmp.dnyp4S2eiM new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/LAPACKE/cmake/tmp.dnyp4S2eiM diff --git a/LAPACKE/example/Makefile b/LAPACKE/example/Makefile index 52c46707..c142a33c 100644 --- a/LAPACKE/example/Makefile +++ b/LAPACKE/example/Makefile @@ -3,9 +3,9 @@ include ../../make.inc all: xexample_DGESV_rowmajor \ xexample_DGESV_colmajor \ xexample_DGELS_rowmajor \ - xexample_DGELS_colmajor + xexample_DGELS_colmajor -LIBRAIRIES= ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB) +LIBRAIRIES= ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB) # Double Precision Examples xexample_DGESV_rowmajor: example_DGESV_rowmajor.o lapacke_example_aux.o $(LIBRAIRIES) diff --git a/LAPACKE/src/Makefile b/LAPACKE/src/Makefile index 642b8754..fb87fff8 100644 --- a/LAPACKE/src/Makefile +++ b/LAPACKE/src/Makefile @@ -2158,7 +2158,7 @@ lapacke_chesvxx.o lapacke_dgbsvxx.o lapacke_dsysvxx.o lapacke_ lapacke_chesvxx_work.o lapacke_dgbsvxx_work.o lapacke_dsysvxx_work.o lapacke_sposvxx_work.o lapacke_zgesvxx_work.o lapacke_zsysvxx_work.o -# FILE PARTS OF TMGLIB +# FILE PARTS OF TMGLIB MATGEN_OBJ = \ lapacke_clatms.o \ lapacke_clatms_work.o \ @@ -2189,7 +2189,7 @@ lapacke_slagsy_work.o \ lapacke_zlagsy.o \ lapacke_zlagsy_work.o -ALLOBJ = $(SRC_OBJ) $(MATGEN_OBJ) +ALLOBJ = $(SRC_OBJ) $(MATGEN_OBJ) ifdef USEXBLAS ALLXOBJ = $(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC) |