platform/upstream/openblas.git
11 years agoreplaced defined(DOUBLE) by !defined(XDOUBLE)
wernsaar [Tue, 9 Jul 2013 16:17:50 +0000 (18:17 +0200)]
replaced defined(DOUBLE) by !defined(XDOUBLE)

11 years agoRefs #247. Included lapack source codes. Avoid downloading tar.gz from netlib.org
Zhang Xianyi [Tue, 9 Jul 2013 09:00:02 +0000 (17:00 +0800)]
Refs #247. Included lapack source codes. Avoid downloading tar.gz from netlib.org

Based on 3.4.2 version, apply patch.for_lapack-3.4.2.

11 years agoFixed the typo in getarch.c
Zhang Xianyi [Tue, 9 Jul 2013 08:26:59 +0000 (16:26 +0800)]
Fixed the typo in getarch.c

11 years agoRefs #248. Fixed the LSB compatiable issue for BLAS only.
Zhang Xianyi [Tue, 9 Jul 2013 07:38:03 +0000 (15:38 +0800)]
Refs #248. Fixed the LSB compatiable issue for BLAS only.
For example, make CC=lsbcc NO_LAPACK=1.

11 years agoRefs #221 #246. Fixed the overflowing stack bug in mutlithreading BLAS3.
Zhang Xianyi [Sun, 7 Jul 2013 17:07:05 +0000 (01:07 +0800)]
Refs #221 #246. Fixed the overflowing stack bug in mutlithreading BLAS3.

When NUM_THREADS(MAX_CPU_NUNBERS) is very large ,e.g. 256.

typedef struct {
  volatile BLASLONG working[MAX_CPU_NUMBER][CACHE_LINE_SIZE * DIVIDE_RATE];
} job_t;

job_t          job[MAX_CPU_NUMBER];

The job array is equal 8MB.

Thus, We use malloc instead of stack allocation.

11 years agoSupport AMD Piledriver by bulldozer kernels.
Zhang Xianyi [Sat, 6 Jul 2013 15:06:43 +0000 (12:06 -0300)]
Support AMD Piledriver by bulldozer kernels.

11 years agoAdded Travis CI status image.
Zhang Xianyi [Fri, 5 Jul 2013 07:28:41 +0000 (15:28 +0800)]
Added Travis CI status image.

11 years agoUse quiet make for Travis CI.
Zhang Xianyi [Fri, 5 Jul 2013 06:52:57 +0000 (14:52 +0800)]
Use quiet make for Travis CI.

11 years agoInstall gfortran in Travis CI.
Zhang Xianyi [Fri, 5 Jul 2013 03:11:18 +0000 (11:11 +0800)]
Install gfortran in Travis CI.

11 years agoAdded travis.yml file.
Zhang Xianyi [Thu, 4 Jul 2013 15:30:53 +0000 (23:30 +0800)]
Added travis.yml file.

11 years agoImproved make clean on Mac OS X.
Zhang Xianyi [Tue, 2 Jul 2013 06:37:30 +0000 (14:37 +0800)]
Improved make clean on Mac OS X.

11 years agoRefs #221. Set stack limit to 16MB to prevent a SEGFAULT bug on Mac OS X with DYNAMIC...
Zhang Xianyi [Tue, 2 Jul 2013 06:17:55 +0000 (14:17 +0800)]
Refs #221. Set stack limit to 16MB to prevent a SEGFAULT bug on Mac OS X with DYNAMIC_ARCH=1 & NUM_THREADS=256.

11 years agoUse ALIGN_5 instead of .algin 32 in assembly kernel. Added ALIGN_5 for 32-bit OSX.
Zhang Xianyi [Mon, 1 Jul 2013 08:09:05 +0000 (16:09 +0800)]
Use ALIGN_5 instead of .algin 32 in assembly kernel. Added ALIGN_5 for 32-bit OSX.

11 years agoMerge pull request #242 from danluu/readme.haswell
Zhang Xianyi [Sun, 30 Jun 2013 16:40:32 +0000 (09:40 -0700)]
Merge pull request #242 from danluu/readme.haswell

Update README to reflect Haswell support, etc.

11 years agoFix miscellaneous typos
Dan Luu [Sun, 30 Jun 2013 16:36:13 +0000 (11:36 -0500)]
Fix miscellaneous typos

11 years agoFixed #217 openblas_config.h bug on Windows 64.
Zhang Xianyi [Sun, 30 Jun 2013 16:35:14 +0000 (00:35 +0800)]
Fixed #217 openblas_config.h bug on Windows 64.

11 years agoAdd Haswell support
Dan Luu [Sun, 30 Jun 2013 16:35:00 +0000 (11:35 -0500)]
Add Haswell support

11 years agoRefs #241. Add Haswell support (using sandybridge optimizations)
Dan Luu [Sat, 29 Jun 2013 22:26:56 +0000 (17:26 -0500)]
Refs #241. Add Haswell support (using sandybridge optimizations)

11 years agoFixed #239 bug in param.h about BARCELONA and BULLDOZER.
Zhang Xianyi [Sat, 29 Jun 2013 02:36:01 +0000 (10:36 +0800)]
Fixed #239 bug in param.h about BARCELONA and BULLDOZER.

11 years agoFixed #238 bug in lsame on x86.
Zhang Xianyi [Fri, 28 Jun 2013 14:43:41 +0000 (22:43 +0800)]
Fixed #238 bug in lsame on x86.

11 years agoMerge pull request #235 from wernsaar/develop
Zhang Xianyi [Sat, 22 Jun 2013 00:59:26 +0000 (17:59 -0700)]
Merge pull request #235 from wernsaar/develop

Added ddot, daxpy, dcopy kernels for AMD bulldozer.

11 years agoadded dcopy_bulldozer.S
wernsaar [Fri, 21 Jun 2013 14:06:51 +0000 (16:06 +0200)]
added dcopy_bulldozer.S

11 years agoadded ddot_bulldozer.S
wernsaar [Thu, 20 Jun 2013 14:15:09 +0000 (16:15 +0200)]
added ddot_bulldozer.S

11 years agoadded daxpy_bulldozer.S
wernsaar [Thu, 20 Jun 2013 12:07:54 +0000 (14:07 +0200)]
added daxpy_bulldozer.S

11 years agocleanup of dgemm_ncopy_8_bulldozer.S
wernsaar [Wed, 19 Jun 2013 17:31:38 +0000 (19:31 +0200)]
cleanup of dgemm_ncopy_8_bulldozer.S

11 years agoadded dgemv_t_bulldozer.S
wernsaar [Wed, 19 Jun 2013 15:32:42 +0000 (17:32 +0200)]
added dgemv_t_bulldozer.S

11 years agoMerge pull request #233 from wernsaar/develop
Zhang Xianyi [Wed, 19 Jun 2013 03:02:36 +0000 (20:02 -0700)]
Merge pull request #233 from wernsaar/develop

added dgemv_n and some faster gemm_copy routines to BULLDOZER.

11 years agoadded dgemm_ncopy_8_bulldozer.S
wernsaar [Tue, 18 Jun 2013 11:29:23 +0000 (13:29 +0200)]
added dgemm_ncopy_8_bulldozer.S

11 years agoadded gemm_tcopy_2_bulldozer.S
wernsaar [Tue, 18 Jun 2013 09:01:33 +0000 (11:01 +0200)]
added gemm_tcopy_2_bulldozer.S

11 years agoadded dgemm_tcopy_8_bulldozer.S
wernsaar [Mon, 17 Jun 2013 12:19:09 +0000 (14:19 +0200)]
added dgemm_tcopy_8_bulldozer.S

11 years agoadded gemm_ncopy_2_bulldozer.S
wernsaar [Mon, 17 Jun 2013 10:55:12 +0000 (12:55 +0200)]
added gemm_ncopy_2_bulldozer.S

11 years agocleanup of dgemv_n_bulldozer.S and optimization of inner loop
wernsaar [Sun, 16 Jun 2013 10:50:45 +0000 (12:50 +0200)]
cleanup of dgemv_n_bulldozer.S and optimization of inner loop

11 years agoadded dgemv_n_bulldozer.S
wernsaar [Sat, 15 Jun 2013 14:42:37 +0000 (16:42 +0200)]
added dgemv_n_bulldozer.S

11 years agoMerge pull request #230 from wernsaar/develop
Zhang Xianyi [Thu, 13 Jun 2013 14:29:27 +0000 (07:29 -0700)]
Merge pull request #230 from wernsaar/develop

Refs #230. New dgemm and sgemm Kernel for BULLDOZER

11 years agoRefs #231. Change the default C compiler to clang on Mac OSX.
Zhang Xianyi [Thu, 13 Jun 2013 14:15:19 +0000 (22:15 +0800)]
Refs #231. Change the default C compiler to clang on Mac OSX.

11 years agoperformance optimizations in sgemm_kernel_16x2_bulldozer.S
wernsaar [Thu, 13 Jun 2013 09:35:15 +0000 (11:35 +0200)]
performance optimizations in sgemm_kernel_16x2_bulldozer.S

11 years agoadded cgemm_kernel_4x2_bulldozer.S
wernsaar [Wed, 12 Jun 2013 13:55:27 +0000 (15:55 +0200)]
added cgemm_kernel_4x2_bulldozer.S

11 years agoadded zgemm_kernel_2x2_bulldozer.S
wernsaar [Tue, 11 Jun 2013 10:00:49 +0000 (12:00 +0200)]
added zgemm_kernel_2x2_bulldozer.S

11 years agoAdded UNROLL values for 3M to getarch_2nd.c, Makefile.system and Makefile.L3
wernsaar [Sun, 9 Jun 2013 15:26:42 +0000 (17:26 +0200)]
Added UNROLL values for 3M to getarch_2nd.c, Makefile.system and Makefile.L3

11 years agoadded new sgemm kernel for BULLDOZER
wernsaar [Sun, 9 Jun 2013 13:57:42 +0000 (15:57 +0200)]
added new sgemm kernel for BULLDOZER

11 years agochanged stack touching
wernsaar [Sat, 8 Jun 2013 08:43:08 +0000 (10:43 +0200)]
changed stack touching

11 years agocorrect GEMM_THREAD in param.h
wernsaar [Sat, 8 Jun 2013 08:03:59 +0000 (10:03 +0200)]
correct GEMM_THREAD in param.h

11 years agoNew dgemm kernel for BULLDOZER: dgemm_kernel_8x2_bulldozer.S
wernsaar [Sat, 8 Jun 2013 07:40:17 +0000 (09:40 +0200)]
New dgemm kernel for BULLDOZER: dgemm_kernel_8x2_bulldozer.S

11 years agoRefs #227. Detected LLVM/Clang compiler.
Zhang Xianyi [Thu, 6 Jun 2013 15:43:40 +0000 (23:43 +0800)]
Refs #227. Detected LLVM/Clang compiler.

11 years agoRefs #124. Check XSAVE flag on x86 CPU.
Zhang Xianyi [Thu, 6 Jun 2013 14:50:43 +0000 (22:50 +0800)]
Refs #124. Check XSAVE flag on x86 CPU.

11 years agoChange LIBSUFFIX from .lib to .a on windows.
Zhang Xianyi [Tue, 4 Jun 2013 08:05:28 +0000 (16:05 +0800)]
Change LIBSUFFIX from .lib to .a on windows.

11 years agoRefs #223. Fixed s/dgemv bug on windows.
Zhang Xianyi [Tue, 4 Jun 2013 08:01:05 +0000 (16:01 +0800)]
Refs #223. Fixed s/dgemv bug on windows.

11 years agoFixed overflow internal buffer bug of (s/d/c/z)gemv on x86_64.
wangqian [Wed, 29 May 2013 11:48:31 +0000 (19:48 +0800)]
Fixed overflow internal buffer bug of (s/d/c/z)gemv on x86_64.

11 years agoFixed overflow internal buffer bug of (s/d/c/z)gemv on x86.
wangqian [Wed, 29 May 2013 05:23:12 +0000 (13:23 +0800)]
Fixed overflow internal buffer bug of (s/d/c/z)gemv on x86.

11 years agoFixed the bug about testing the exist of lapack tar package.
Zhang Xianyi [Fri, 24 May 2013 07:52:35 +0000 (15:52 +0800)]
Fixed the bug about testing the exist of lapack tar package.

11 years agoRefs #205. Merge boegel's codes about downloading LAPACK.
Zhang Xianyi [Fri, 24 May 2013 07:29:10 +0000 (15:29 +0800)]
Refs #205. Merge boegel's codes about downloading LAPACK.

11 years agoFixed #199. Saved USE_THREAD switch for make install.
Zhang Xianyi [Fri, 24 May 2013 07:15:52 +0000 (15:15 +0800)]
Fixed #199. Saved USE_THREAD switch for make install.

11 years agoRefs #220. Support Power7 by old Power6 kernels.
Zhang Xianyi [Tue, 21 May 2013 14:59:45 +0000 (22:59 +0800)]
Refs #220. Support Power7 by old Power6 kernels.

11 years agoRefs #215. Fixed the compatible between <complex.h> and <complex> in C++.
Zhang Xianyi [Fri, 17 May 2013 08:41:05 +0000 (16:41 +0800)]
Refs #215. Fixed the compatible between <complex.h> and <complex> in C++.

11 years agoRefs #216. Revert the default value of GEMM_MULTITHREAD_THRESHOLD to 4.
Zhang Xianyi [Fri, 3 May 2013 01:08:54 +0000 (09:08 +0800)]
Refs #216. Revert the default value of GEMM_MULTITHREAD_THRESHOLD to 4.

11 years agochanged DGEMM_DEFAULT_P and DGEMM_DEFAULT_Q to 248 for BULLDOZER 64bit
wernsaar [Tue, 30 Apr 2013 08:07:17 +0000 (10:07 +0200)]
changed DGEMM_DEFAULT_P and DGEMM_DEFAULT_Q to 248 for BULLDOZER 64bit

11 years agobad performance with some data
wernsaar [Sun, 28 Apr 2013 09:14:23 +0000 (11:14 +0200)]
bad performance with some data

11 years agoremoved trsm_kernel_RT_4x4_bulldozer.S. wrong results
wernsaar [Sat, 27 Apr 2013 15:23:08 +0000 (17:23 +0200)]
removed trsm_kernel_RT_4x4_bulldozer.S. wrong results

11 years agoadded trsm_kernel_RT_4x4_bulldozer.S
wernsaar [Sat, 27 Apr 2013 14:48:48 +0000 (16:48 +0200)]
added trsm_kernel_RT_4x4_bulldozer.S

11 years agoadded trsm_kernel_LT_4x4_bulldozer.S
wernsaar [Sat, 27 Apr 2013 12:30:00 +0000 (14:30 +0200)]
added trsm_kernel_LT_4x4_bulldozer.S

11 years agoprefetch improved. Defined 2 different kernels for inner loop
wernsaar [Sat, 27 Apr 2013 11:40:49 +0000 (13:40 +0200)]
prefetch improved. Defined 2 different kernels for inner loop

11 years agoRefs #210. Disable checking /lib/libpthread.so*.
Zhang Xianyi [Sat, 27 Apr 2013 07:02:04 +0000 (15:02 +0800)]
Refs #210. Disable checking /lib/libpthread.so*.

11 years agominor improvements and code cleanup
wernsaar [Fri, 26 Apr 2013 18:05:42 +0000 (20:05 +0200)]
minor improvements and code cleanup

11 years agoUpdated the mailing list for OpenBLAS.
Xianyi Zhang [Wed, 24 Apr 2013 16:45:42 +0000 (00:45 +0800)]
Updated the mailing list for OpenBLAS.

11 years agoUpdated the mailing list for OpenBLAS.
Xianyi Zhang [Wed, 24 Apr 2013 16:44:22 +0000 (00:44 +0800)]
Updated the mailing list for OpenBLAS.

11 years agoMerge pull request #213 from wernsaar/develop
Zhang Xianyi [Thu, 18 Apr 2013 06:56:09 +0000 (23:56 -0700)]
Merge pull request #213 from wernsaar/develop

Merged some improvements into dgemm_kernel_4x4_bulldozer.S.

11 years agoMerged some improvements into dgemm_kernel_4x4_bulldozer.S.
wernsaar [Tue, 16 Apr 2013 17:05:06 +0000 (19:05 +0200)]
Merged some improvements into dgemm_kernel_4x4_bulldozer.S.
Changed the copy functions to generic to solve prefetch conflicts

11 years agoAdded NO_PARALLEL_MAKE flag to disable parallel make.
Zhang Xianyi [Mon, 15 Apr 2013 13:37:30 +0000 (21:37 +0800)]
Added NO_PARALLEL_MAKE flag to disable parallel make.

11 years agoMerge pull request #211 from wernsaar/develop
Zhang Xianyi [Mon, 15 Apr 2013 07:20:55 +0000 (00:20 -0700)]
Merge pull request #211 from wernsaar/develop

New version of dgemm_kernel_4x4_bulldozer.S

11 years agoNew version of dgemm_kernel_4x4_bulldozer.S
wernsaar [Fri, 12 Apr 2013 15:55:51 +0000 (17:55 +0200)]
New version of dgemm_kernel_4x4_bulldozer.S
The peak performance with 8 cores is now 90 GFlops

11 years agoRefs #209. Export the missing cblas_cdotc_sub functions.
Zhang Xianyi [Mon, 8 Apr 2013 15:21:28 +0000 (23:21 +0800)]
Refs #209. Export the missing cblas_cdotc_sub functions.

11 years agoMerge pull request #206 from wlbksy/patch-1
Zhang Xianyi [Sat, 23 Mar 2013 16:57:41 +0000 (09:57 -0700)]
Merge pull request #206 from wlbksy/patch-1

Fix #204 wget in mingw/msys sometimes download file with trailing name,

11 years agoFix #204
wlbksy [Sat, 23 Mar 2013 06:41:26 +0000 (14:41 +0800)]
Fix #204

11 years agoadjusted Makefile to allow for provided required LAPACK source files rather than...
Kenneth Hoste [Fri, 22 Mar 2013 18:45:11 +0000 (19:45 +0100)]
adjusted Makefile to allow for provided required LAPACK source files rather than downloading them

11 years agoMerge pull request #201 from Explorer09/develop
Zhang Xianyi [Mon, 18 Mar 2013 14:31:30 +0000 (07:31 -0700)]
Merge pull request #201 from Explorer09/develop

11 years agogetarch.c: Minor re-ordering of architecture list
Explorer09 [Sun, 17 Mar 2013 15:09:23 +0000 (23:09 +0800)]
getarch.c: Minor re-ordering of architecture list

11 years agogetarch.c: Minor re-ordering of architecture list
Explorer09 [Sun, 17 Mar 2013 15:07:48 +0000 (23:07 +0800)]
getarch.c: Minor re-ordering of architecture list

11 years agoTargetList.txt: minor re-ordering
Explorer09 [Sun, 17 Mar 2013 15:03:05 +0000 (23:03 +0800)]
TargetList.txt: minor re-ordering

11 years agoTypo correction in README.md
Explorer09 [Sun, 17 Mar 2013 14:48:24 +0000 (22:48 +0800)]
Typo correction in README.md

11 years agoOverride CFLAGS in LAPACK make.in.
Zhang Xianyi [Sat, 9 Mar 2013 17:01:16 +0000 (01:01 +0800)]
Override CFLAGS in LAPACK make.in.

11 years agoFixed the Windows x86_64 ABI bug in s/daxpy kernels.
Zhang Xianyi [Fri, 8 Mar 2013 14:28:34 +0000 (22:28 +0800)]
Fixed the Windows x86_64 ABI bug in s/daxpy kernels.

11 years agoMerge pull request #198 from wernsaar/develop
Zhang Xianyi [Wed, 6 Mar 2013 21:39:53 +0000 (13:39 -0800)]
Merge pull request #198 from wernsaar/develop

new optimization of dgemm kernel for bulldozer: 10% performance increase

11 years agonew optimization of dgemm kernel for bulldozer: 10% performance increase
wernsaar [Wed, 6 Mar 2013 16:26:03 +0000 (17:26 +0100)]
new optimization of dgemm kernel for bulldozer: 10% performance increase

11 years agoMerge pull request #197 from wernsaar/develop
Zhang Xianyi [Wed, 6 Mar 2013 09:11:08 +0000 (01:11 -0800)]
Merge pull request #197 from wernsaar/develop

optimized again bulldozer dgemm kernel

11 years agooptimized again bulldozer dgemm kernel
wernsaar [Tue, 5 Mar 2013 18:51:37 +0000 (19:51 +0100)]
optimized again bulldozer dgemm kernel

11 years agoMerge pull request #195 from wernsaar/develop
Zhang Xianyi [Tue, 5 Mar 2013 13:35:42 +0000 (05:35 -0800)]
Merge pull request #195 from wernsaar/develop

Develop dgemm for bullozer

11 years agonew dgemm_kernel for bulldozer
wernsaar [Mon, 4 Mar 2013 16:37:38 +0000 (17:37 +0100)]
new dgemm_kernel for bulldozer

11 years agoMerge branch 'develop' v0.2.6
Zhang Xianyi [Sat, 2 Mar 2013 06:42:06 +0000 (14:42 +0800)]
Merge branch 'develop'

11 years agoRefs#194. Export the missing LAPACK s/dlamc3 functions.
Zhang Xianyi [Sat, 2 Mar 2013 06:41:18 +0000 (14:41 +0800)]
Refs#194. Export the missing LAPACK s/dlamc3 functions.

11 years agoMerge branch 'develop'
Zhang Xianyi [Sat, 2 Mar 2013 06:24:23 +0000 (14:24 +0800)]
Merge branch 'develop'

11 years agoUpdated the doc for 0.2.6 version.
Zhang Xianyi [Sat, 2 Mar 2013 06:22:27 +0000 (14:22 +0800)]
Updated the doc for 0.2.6 version.

11 years agoImproved the print when OS don't support AVX.
Zhang Xianyi [Sat, 2 Mar 2013 06:15:54 +0000 (14:15 +0800)]
Improved the print when OS don't support AVX.

11 years agoIn OpenMP threading, preallocate the thread buffer instead of allocating the buffer...
Zhang Xianyi [Fri, 1 Mar 2013 06:36:47 +0000 (14:36 +0800)]
In OpenMP threading, preallocate the thread buffer instead of allocating the buffer every time. This patch improved the performance slightly.

11 years agoRefs #174. Return sb pointer when OpenMP or Windows.
Zhang Xianyi [Mon, 25 Feb 2013 16:48:21 +0000 (00:48 +0800)]
Refs #174. Return sb pointer when OpenMP or Windows.

11 years agoFixed the overflowing bug in single thread cholesky factorization.
Zhang Xianyi [Sat, 23 Feb 2013 04:51:13 +0000 (12:51 +0800)]
Fixed the overflowing bug in single thread cholesky factorization.

11 years agoRefs #174. Fixed the overflowing buffer bug of multithreading hbmv and sbmv.
Zhang Xianyi [Wed, 13 Feb 2013 08:05:58 +0000 (16:05 +0800)]
Refs #174. Fixed the overflowing buffer bug of multithreading hbmv and sbmv.

Instead of using thread 0 buffer, each thread uses its own sb buffer.
Thus, it can avoid overflowing thread 0 buffer.

11 years agoMerge branch 'bulldozer' into develop
Zhang Xianyi [Sat, 9 Feb 2013 17:19:42 +0000 (01:19 +0800)]
Merge branch 'bulldozer' into develop

11 years agoMissing line continuation -- follow-up to last commit (64ad8b9809).
Zaheer Chothia [Fri, 1 Feb 2013 08:34:12 +0000 (09:34 +0100)]
Missing line continuation -- follow-up to last commit (64ad8b9809).

11 years agoRefs #193. Don't use C99 complex numbers when building C++ code.
Zaheer Chothia [Fri, 1 Feb 2013 08:24:44 +0000 (09:24 +0100)]
Refs #193. Don't use C99 complex numbers when building C++ code.

11 years agoRefs #193. cblas: move #include out of extern "C" block.
Zaheer Chothia [Thu, 31 Jan 2013 07:48:27 +0000 (08:48 +0100)]
Refs #193. cblas: move #include out of extern "C" block.

Standard headers may contain C++ templates which are not permitted inside an
extern "C" block. This might be the case when we include <complex.h>.