Go to file
Xianyi 272f62a2b6 Changed movlps macro name in capital in x86/zdot_sse2.S file. 2011-03-03 00:46:39 +08:00
benchmark Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
ctest Used the environment variable OPENBLAS_NUM_THREADS to set the number of threads in test. 2011-01-24 18:11:35 +00:00
driver Enable Debug flags in memory alloc and init functions. 2011-02-26 11:51:39 +08:00
exports Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
interface Fixed #7. 1)Disable the multi-thread and 2) Modified kernel codes to avoid unloop in axpy function when incx==0 or incy==0. 2011-02-21 00:24:21 +08:00
kernel Changed movlps macro name in capital in x86/zdot_sse2.S file. 2011-03-03 00:46:39 +08:00
lapack Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
reference Disable quad and x precision objs in reference. 2011-02-18 02:50:32 +08:00
test Used the environment variable OPENBLAS_NUM_THREADS to set the number of threads in test. 2011-01-24 18:11:35 +00:00
utest Added zdotu with x & y offset=1 test case. 2011-03-02 18:03:40 +08:00
.gitignore Updated gitignore. 2011-02-16 17:37:48 +08:00
Changelog.txt On x86 32bits, gcc 4.4.3 generated wrong codes (movsd) from movlps in zdot_sse2.S line 191. 2011-03-02 18:45:43 +08:00
GotoBLAS_00License.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
GotoBLAS_01Readme.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
GotoBLAS_02QuickInstall.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
GotoBLAS_03FAQ.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
GotoBLAS_04FAQ.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
GotoBLAS_05LargePage.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
GotoBLAS_06WeirdPerformance.txt rename documents in GotoBLAS. 2011-01-24 15:57:23 +00:00
LICENSE Added OpenBLAS docs. 2011-01-24 16:05:00 +00:00
Makefile Added utest frame using CUnit(http://cunit.sourceforge.net/). 2011-02-16 17:33:06 +08:00
Makefile.alpha Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.generic Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.getarch Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.ia64 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.mips64 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.power Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.rule Added DEBUG option in Makefile.rule. Fixed DEBUG typo mistakes. 2011-02-26 11:19:54 +08:00
Makefile.sparc Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.system Added utest frame using CUnit(http://cunit.sourceforge.net/). 2011-02-16 17:33:06 +08:00
Makefile.tail Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.x86 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
Makefile.x86_64 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
README Added Changelog. Fixed #11. 2011-02-26 12:27:56 +08:00
c_check Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cblas.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_alpha.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_c.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_d.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_ia64.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_interface.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_lapack.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_level1.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_level2.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_level3.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_linux.h Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34. Fixed #12. Thank Mr.Ei-ji Nakama providing this patch. 2011-03-02 13:38:32 +08:00
common_macro.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_mips64.h Modified the unsupported instruction on Loongson3A. Closed #1 OpenBLAS could run on Loongson3A now. 2011-01-25 17:34:47 +08:00
common_param.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_power.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_q.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_reference.h Added unit test case (zdotu, N=1). 2011-02-22 14:16:46 +08:00
common_s.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_sparc.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_thread.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_x.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_x86.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_x86_64.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
common_z.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid.S Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid_alpha.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid_ia64.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid_mips.c Added the configures of loongson 3a. refs #1 2011-01-24 22:45:35 +00:00
cpuid_power.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid_sparc.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
cpuid_x86.c Fixed #5 Detected Intel Westmere (using Nehalem codes) in build and dynamic arch build. 2011-02-19 00:03:50 +08:00
ctest.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
ctest1.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
ctest2.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
f_check Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
ftest.f Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
ftest2.f Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
getarch.c fixed a typo. 2011-01-25 15:55:56 +08:00
getarch_2nd.c Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
l1param.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
l2param.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
make.inc Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
param.h Added the configures of loongson 3a. refs #1 2011-01-24 22:45:35 +00:00
patch.for_lapack-3.1.1 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
quickbuild.32bit Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
quickbuild.64bit Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
quickbuild.win32 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
quickbuild.win64 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
symcopy.h Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00
version.h changed library name to openblas and modified environment variable. 2011-01-24 17:58:05 +00:00

README

OpenBLAS Readme

1.Introduction
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS.(http://www.rdcps.ac.cn)

2.Intallation
Download from project homepage. http://xianyi.github.com/OpenBLAS/
Or,
check out codes from git://github.com/xianyi/OpenBLAS.git
1)Normal compile
Please read GotoBLAS_02QuickInstall.txt or type "make"

2)Cross compile
Please set CC and FC with the cross toolchains. Then, set HOSTCC with your host C compiler. At last, set TARGET explicitly.

examples:
On X86 box, compile this library for loongson3a CPU.
make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A

3)Debug version
make DEBUG=1

3.Support CPU & OS
Please read GotoBLAS_01Readme.txt

Additional support CPU:
x86_64:
	Intel Xeon 56xx (Westmere) //Used GotoBLAS2 Nehalem codes.
MIPS64:
	ICT Loongson 3A //The initial version used GotoBLAS2 MIPS64 kernels. Thus, the performance is not good.

4.Usages
Link with libopenblas.a or -lopenblas for shared library.

4.1 Set the number of threads with environment variables. for example,
export OPENBLAS_NUM_THREADS=4
 or
export GOTO_NUM_THREADS=4
 or 
export OMP_NUM_THREADS=4

The priorities are OPENBLAS_NUM_THREAD > GOTO_NUM_THREADS > OMP_NUM_THREADS.

4.2 Set the number of threads with calling functions. for example,
void goto_set_num_threads(int num_threads);
or
void openblas_set_num_threads(int num_threads);

5.Report Bugs
Please add a issue in https://github.com/xianyi/OpenBLAS/issues

6.To-Do List:
Optimization on ICT Loongson 3A CPU

7.Contact
OpenBLAS users mailing list: http://list.rdcps.ac.cn/mailman/listinfo/openblas

8.ChangeLog
Please see Changelog.txt to obtain the differences between GotoBLAS2 1.13 BSD version.