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
wernsaar [Tue, 5 Mar 2013 18:51:37 +0000 (19:51 +0100)]
optimized again bulldozer dgemm kernel
Zhang Xianyi [Tue, 5 Mar 2013 13:35:42 +0000 (05:35 -0800)]
Merge pull request #195 from wernsaar/develop
Develop dgemm for bullozer
wernsaar [Mon, 4 Mar 2013 16:37:38 +0000 (17:37 +0100)]
new dgemm_kernel for bulldozer
Zhang Xianyi [Sat, 2 Mar 2013 06:42:06 +0000 (14:42 +0800)]
Merge branch 'develop'
Zhang Xianyi [Sat, 2 Mar 2013 06:41:18 +0000 (14:41 +0800)]
Refs#194. Export the missing LAPACK s/dlamc3 functions.
Zhang Xianyi [Sat, 2 Mar 2013 06:24:23 +0000 (14:24 +0800)]
Merge branch 'develop'
Zhang Xianyi [Sat, 2 Mar 2013 06:22:27 +0000 (14:22 +0800)]
Updated the doc for 0.2.6 version.
Zhang Xianyi [Sat, 2 Mar 2013 06:15:54 +0000 (14:15 +0800)]
Improved the print when OS don't support AVX.
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.
Zhang Xianyi [Mon, 25 Feb 2013 16:48:21 +0000 (00:48 +0800)]
Refs #174. Return sb pointer when OpenMP or Windows.
Zhang Xianyi [Sat, 23 Feb 2013 04:51:13 +0000 (12:51 +0800)]
Fixed the overflowing bug in single thread cholesky factorization.
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.
Zhang Xianyi [Sat, 9 Feb 2013 17:19:42 +0000 (01:19 +0800)]
Merge branch 'bulldozer' into develop
Zaheer Chothia [Fri, 1 Feb 2013 08:34:12 +0000 (09:34 +0100)]
Missing line continuation -- follow-up to last commit (
64ad8b9809).
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.
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>.
Zhang Xianyi [Fri, 25 Jan 2013 08:18:27 +0000 (16:18 +0800)]
Refs #189. Fixed the bug of s/cdot about invalid reading NAN on x86_64.
Zhang Xianyi [Mon, 21 Jan 2013 16:29:54 +0000 (00:29 +0800)]
Refs #187. Use perl to generate cblas_noconst.h instead of sed.
Thank Dan Povey's patch. https://github.com/xianyi/OpenBLAS/issues/187
Zhang Xianyi [Mon, 21 Jan 2013 16:18:21 +0000 (00:18 +0800)]
Refs #187. Use binary code for xgetbv, which is compatible with old compiler.
Zaheer Chothia [Sun, 20 Jan 2013 20:53:52 +0000 (21:53 +0100)]
Refs #185. Add missing 'const' to declarations in <cblas.h>. Thanks to Dan Povey!
The 'const' modifications were done automatically using this scripts:
https://kaldi.svn.sourceforge.net/svnroot/kaldi/sandbox/dan/tools/for_openblas
Zhang Xianyi [Sun, 20 Jan 2013 13:22:12 +0000 (21:22 +0800)]
Refs #154. Fixed gemv_t bug about overflow 16MB buffer on x86.
Zaheer Chothia [Mon, 25 Jun 2012 11:51:46 +0000 (13:51 +0200)]
cblas: typedef enums for improved compatibility with Intel MKL.
Netlib style:
enum CBLAS_XYZ {X=1, Y=2, Z=3};
Intel MKL style:
typedef enum {X=1, Y=2, Z=3} CBLAS_XYZ;
With this hybrid style, code written in the latter form won't need any
modifications to be built with OpenBLAS. This change should not affect existing
code, although a warning may be emitted for C code which does the following
(does not occur with C++):
typedef enum CBLAS_XYZ CBLAS_XYZ;
warning: redefinition of typedef 'CBLAS_XYZ' [-pedantic]
Zhang Xianyi [Sat, 12 Jan 2013 04:31:14 +0000 (12:31 +0800)]
Fixed #180. the typos in kernel/x86_64/sgemv_t.S
Zhang Xianyi [Sat, 5 Jan 2013 03:36:39 +0000 (11:36 +0800)]
Refs #177. Fixed sgemv_t compiling bug on Win64.
Zhang Xianyi [Wed, 2 Jan 2013 17:47:31 +0000 (01:47 +0800)]
Refs #176. Fixed make.inc overriding RANLIB bug when cross-compiling LAPACK.
Zhang Xianyi [Tue, 25 Dec 2012 01:27:49 +0000 (09:27 +0800)]
Refs #173. Fixed overflow internal buffer bug of gemv_n on x86
Zhang Xianyi [Tue, 25 Dec 2012 01:10:17 +0000 (09:10 +0800)]
Refs #173. Fixed overflow internal buffer bug of sgemv_t on x86
Zhang Xianyi [Sun, 23 Dec 2012 15:14:17 +0000 (23:14 +0800)]
Refs #171. Prevent loading the dirty number from the buffer in sgemv_t x86 kernel.
Zhang Xianyi [Sun, 23 Dec 2012 13:47:22 +0000 (21:47 +0800)]
Refs #173. Fixed overflow internal buffer bug of gemv_t on x86.
Zhang Xianyi [Tue, 18 Dec 2012 00:57:46 +0000 (08:57 +0800)]
Fixed #172. Support Intel Xeon E7540.
Zhang Xianyi [Tue, 18 Dec 2012 00:51:30 +0000 (08:51 +0800)]
Merge branch 'master' into develop
Zhang Xianyi [Sat, 15 Dec 2012 23:50:02 +0000 (15:50 -0800)]
Merge pull request #170 from juliantaylor/athlon-defaults
set parameters for CORE_ATHLON
Julian Taylor [Sat, 15 Dec 2012 15:05:33 +0000 (16:05 +0100)]
set parameters for CORE_ATHLON
else dgemm_p is set to zero leading to a segfault in alloc_mmap due to
allocsize being zero
Zhang Xianyi [Sat, 15 Dec 2012 14:49:37 +0000 (22:49 +0800)]
Merge branch 'master' into develop
Zhang Xianyi [Sat, 15 Dec 2012 14:46:48 +0000 (06:46 -0800)]
Merge pull request #169 from juliantaylor/sanity-check-cpu
add a sanity check on the detected cpu type
Julian Taylor [Sat, 15 Dec 2012 12:29:46 +0000 (13:29 +0100)]
add a sanity check on the detected cpu type
if we have 64 bit pointers we can't have a 32 bit cpu, so fall back to
the 64bit cpu fallback (prescott)
E.g. the cpu detection fails in amd qemu64 emulation (family 6 model 2)
causing it to use the uninitialized gotoblas_ATHLON
Zhang Xianyi [Tue, 11 Dec 2012 09:55:10 +0000 (10:55 +0100)]
Write FMA4 flag to the configure file.
Zhang Xianyi [Mon, 10 Dec 2012 07:49:01 +0000 (15:49 +0800)]
Refs #163. Obtain the build configure on runtime.
openblas_get_config function returns the configure string.
So far, it supports USE64BITINT, NO_CBLAS, NO_LAPACK, NO_LAPACKE,
DYNAMIC_ARCH, NO_AFFINITY.
Example:
#include <stdio.h>
extern char * openblas_get_config();
void main()
{
printf("%s\n",openblas_get_config());
return;
}
Zhang Xianyi [Mon, 10 Dec 2012 03:51:39 +0000 (11:51 +0800)]
Refs #165. fall back of DTB_DEFAULT_ENTRIES for some virtual machines.
Zhang Xianyi [Thu, 6 Dec 2012 16:58:03 +0000 (00:58 +0800)]
Refs #54. Added AMD Bulldozer x86_64 dgemm kernel developed by Werner Saar <wernsaar at googlemail.com>
Based on the dgemm kernel for AMD Barcelona, he used AVX and FMA4 instructions.
Thank Werner Saar!
Zhang Xianyi [Thu, 6 Dec 2012 16:53:31 +0000 (00:53 +0800)]
Added BULLDOZER target. So far it uses barcelona kernels.
Zhang Xianyi [Thu, 6 Dec 2012 12:29:54 +0000 (07:29 -0500)]
Init AMD Bulldozer codebase.
Zhang Xianyi [Wed, 28 Nov 2012 04:52:28 +0000 (12:52 +0800)]
Added -lgomp for generating DLL on Windows.
Zhang Xianyi [Mon, 26 Nov 2012 23:24:53 +0000 (07:24 +0800)]
Merge branch 'develop'
Zhang Xianyi [Mon, 26 Nov 2012 23:24:04 +0000 (07:24 +0800)]
Refs #154. Fixed the build bug of dgemv_t on MinW64.
Zhang Xianyi [Mon, 26 Nov 2012 09:32:56 +0000 (17:32 +0800)]
Merge branch 'develop'
Zhang Xianyi [Mon, 26 Nov 2012 09:32:25 +0000 (17:32 +0800)]
Update the doc for 0.2.5 version.
Zhang Xianyi [Mon, 19 Nov 2012 14:32:27 +0000 (22:32 +0800)]
Refs #154. Fixed a SEGFAULT bug of dgemv_t when m is very large.
It overflowed the internal buffer. Thus, we split vector x into blocks when m is very large.
Thank @wangqian for this patch.
Zhang Xianyi [Thu, 15 Nov 2012 10:20:07 +0000 (18:20 +0800)]
Fixed #160. Merge branch 'master' of https://github.com/sebastien-villemot/OpenBLAS into develop
Sébastien Villemot [Wed, 14 Nov 2012 20:04:05 +0000 (21:04 +0100)]
Fix compilation with TARGET=GENERIC
Patch applied to Debian package
Zhang Xianyi [Tue, 13 Nov 2012 07:48:57 +0000 (15:48 +0800)]
Fixed #157. Only detect the number of physical CPU cores on Mac OSX.
Zhang Xianyi [Mon, 12 Nov 2012 16:54:20 +0000 (00:54 +0800)]
Compile lapacke with ILP64 modle when INTERFACE64=1
Zhang Xianyi [Mon, 12 Nov 2012 16:53:26 +0000 (00:53 +0800)]
Added the patch for lapacke example.
Zhang Xianyi [Mon, 12 Nov 2012 03:17:04 +0000 (11:17 +0800)]
Merge branch 'master' of https://github.com/alnsn/OpenBLAS into develop
Alexander Nasonov [Sat, 10 Nov 2012 23:20:44 +0000 (23:20 +0000)]
Fix NetBSD build.
Zhang Xianyi [Thu, 8 Nov 2012 14:15:04 +0000 (22:15 +0800)]
Improved Makefile.rule for cross compiler.
Zhang Xianyi [Thu, 8 Nov 2012 14:08:01 +0000 (22:08 +0800)]
Added NO_SHARED flag to disable generating the shared library.
Zhang Xianyi [Tue, 6 Nov 2012 10:21:46 +0000 (18:21 +0800)]
Refs #153. Restore the original CPU affinity when calling openblas_set_num_threads(1).
Please read the issue on github.com for the detail.
Zaheer Chothia [Mon, 15 Oct 2012 20:26:18 +0000 (22:26 +0200)]
Alternative approach to avoid command-line length while archiving lapacke -- Thanks Michel!
Zaheer Chothia [Mon, 15 Oct 2012 20:13:37 +0000 (22:13 +0200)]
Fix installation step on Windows (regression from
e8306f623a)
Since the DLL now has a fixed name there is no need to install a versioned alias too.
Zaheer Chothia [Fri, 12 Oct 2012 21:44:23 +0000 (23:44 +0200)]
Fixed #147: LAPACK symbols were not being exported for version 3.4.2
Zhang Xianyi [Tue, 9 Oct 2012 12:08:28 +0000 (20:08 +0800)]
Merge branch 'develop'
Zhang Xianyi [Tue, 9 Oct 2012 06:52:35 +0000 (14:52 +0800)]
Don't use xgetbv instruction when NO_AVX=1
Zhang Xianyi [Mon, 8 Oct 2012 05:38:03 +0000 (13:38 +0800)]
Merge branch 'develop'
Zhang Xianyi [Mon, 8 Oct 2012 05:37:44 +0000 (13:37 +0800)]
Updated the doc for 0.2.4 version.
Zhang Xianyi [Mon, 8 Oct 2012 04:48:20 +0000 (12:48 +0800)]
Fixed #141. make f77blas.h compatible with compilers which lack C99 complex number.
Apply the patch from Tony @tonyhill. Thank you.
Zhang Xianyi [Sat, 29 Sep 2012 15:14:39 +0000 (23:14 +0800)]
Refs #145. Update LAPACK to 3.4.2 version.
Zhang Xianyi [Mon, 24 Sep 2012 12:34:33 +0000 (20:34 +0800)]
refs #140. Fixed zdot incompatibility ABI issue with GCC 4.7 on Win 32.
GCC 4.7 uses MSVC ABI on Win 32. This means the caller pops the hidden pointer for returning
aggregate structures larger than 8 bytes.
Zhang Xianyi [Fri, 21 Sep 2012 11:49:07 +0000 (11:49 +0000)]
Fixed generating shared library bug on MIPS.
Zhang Xianyi [Fri, 21 Sep 2012 10:14:07 +0000 (10:14 +0000)]
Fixed the detection bug on Loongson 3A server.
Zhang Xianyi [Tue, 18 Sep 2012 07:46:20 +0000 (15:46 +0800)]
Refs #139. Check OS supporting AVX on runtime.
Zhang Xianyi [Mon, 17 Sep 2012 15:24:04 +0000 (23:24 +0800)]
Refs #139. Added NO_AVX flag to use old Nehalem kernels on Sandy Bridge.
For example, make NO_AVX=1 or make DYNAMIC_ARCH=1 NO_AVX=1
Zhang Xianyi [Fri, 14 Sep 2012 07:15:08 +0000 (15:15 +0800)]
Fixed #142. Added the gesvd and potrs function families to common_interface.h.
Zhang Xianyi [Fri, 14 Sep 2012 06:06:14 +0000 (14:06 +0800)]
Fixed #143. Don't generate cblas.h with NO_CBLAS.
Jameson Nash [Tue, 21 Aug 2012 04:31:12 +0000 (00:31 -0400)]
provide support for passing CFLAGS, FFLAGS, PFLAGS, FPFLAGS to make on the command line
Zhang Xianyi [Mon, 20 Aug 2012 08:52:35 +0000 (16:52 +0800)]
Merge branch 'develop'
Zhang Xianyi [Mon, 20 Aug 2012 08:51:47 +0000 (16:51 +0800)]
Updated the doc for 0.2.3 version.
Zhang Xianyi [Sun, 19 Aug 2012 15:50:54 +0000 (23:50 +0800)]
Refs #136. Fixed a bug about controlling the number of threads on Windows.
Xianyi Zhang [Tue, 14 Aug 2012 10:33:28 +0000 (18:33 +0800)]
Fixed a hang bug when shutdown blas threads server on Windows. Added the feature about dynamic changing the number of threads on Windows.
Zhang Xianyi [Mon, 13 Aug 2012 07:25:08 +0000 (15:25 +0800)]
Use sandy bridge kernel when DYNAMIC_ARCH=1.
Zhang Xianyi [Sat, 11 Aug 2012 13:33:15 +0000 (21:33 +0800)]
Refs #132. Kill the threads when unload the library.
Zhang Xianyi [Fri, 10 Aug 2012 06:36:26 +0000 (14:36 +0800)]
Refs #133. Users can set COMMON_OPT flag to control CFLAGS and FFLAGS.
Zhang Xianyi [Fri, 10 Aug 2012 03:54:21 +0000 (11:54 +0800)]
Refs #134. Fixed the building bug on IBM Power.
Zhang Xianyi [Thu, 9 Aug 2012 12:37:45 +0000 (20:37 +0800)]
Added the tip for Windows.
Zhang Xianyi [Thu, 9 Aug 2012 12:36:18 +0000 (20:36 +0800)]
Refs #130 Fixed laswp building bug with DYNAMIC_ARCH=1.
Zhang Xianyi [Thu, 9 Aug 2012 12:06:51 +0000 (20:06 +0800)]
Refs #130 Prevent reading ipiv array beyond the bound in ?laswp. Use laswp instead of laswp_oncopy in getrf.
Zaheer Chothia [Mon, 30 Jul 2012 17:46:30 +0000 (19:46 +0200)]
Refs #127. Generate DLL without a version suffix on Windows.
Xianyi Zhang [Fri, 13 Jul 2012 06:19:30 +0000 (14:19 +0800)]
Added the doc for the conflict with R parallel.
Xianyi Zhang [Sat, 7 Jul 2012 04:12:24 +0000 (12:12 +0800)]
Fixed the build bug when DYNAMIC_ARCH=0.
Zhang Xianyi [Fri, 6 Jul 2012 14:09:12 +0000 (22:09 +0800)]
Merge branch 'develop'
Zhang Xianyi [Fri, 6 Jul 2012 14:08:35 +0000 (22:08 +0800)]
Updated the doc for 0.2.2 version.
Zhang Xianyi [Fri, 6 Jul 2012 13:37:51 +0000 (21:37 +0800)]
Refs #123. Fixed exporting DLL functions bug on Windows
Zhang Xianyi [Thu, 5 Jul 2012 05:41:03 +0000 (13:41 +0800)]
Detect Sandy Bridge 22nm desktop/mobile CPU.
Xianyi Zhang [Mon, 2 Jul 2012 03:36:09 +0000 (11:36 +0800)]
Fixed #120. Merge the improvements for Debian archs.
Merge branch 'master' of https://github.com/sylvestre/OpenBLAS into develop
Sylvestre Ledru [Mon, 2 Jul 2012 00:51:38 +0000 (02:51 +0200)]
Improve the detection of sparc
Sylvestre Ledru [Mon, 2 Jul 2012 00:50:41 +0000 (02:50 +0200)]
When dealing with the kfreebsd kernel, set the same behavior as FreeBSD
Sylvestre Ledru [Mon, 2 Jul 2012 00:50:02 +0000 (02:50 +0200)]
if SYS_gettid doesn't exist (like under HURD), use getpid() instead
Sylvestre Ledru [Mon, 2 Jul 2012 00:49:12 +0000 (02:49 +0200)]
Set the tests for hurd similar to linux
Xianyi Zhang [Sat, 30 Jun 2012 00:26:10 +0000 (08:26 +0800)]
Merge branch 'develop'