Browse Source

Modified readme.

tags/v0.2.0^2
Zhang Xianyi 13 years ago
parent
commit
a6214c057e
1 changed files with 15 additions and 10 deletions
  1. +15
    -10
      README.md

+ 15
- 10
README.md View File

@@ -3,12 +3,12 @@
## Introduction ## 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>. 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>.


Please read the documents on OpenBLAS wiki pages<http://github.com/xianyi/OpenBLAS/wiki>.
Please read the documents on OpenBLAS wiki pages <http://github.com/xianyi/OpenBLAS/wiki>.


## Intallation ## Intallation
Download from project homepage. http://xianyi.github.com/OpenBLAS/ Download from project homepage. http://xianyi.github.com/OpenBLAS/
Or,
check out codes from git://github.com/xianyi/OpenBLAS.git
Or, check out codes from git://github.com/xianyi/OpenBLAS.git
### Normal compile ### Normal compile
* type "make" to detect the CPU automatically. * type "make" to detect the CPU automatically.
or or
@@ -38,13 +38,15 @@ The default directory is /opt/OpenBLAS
## Support CPU & OS ## Support CPU & OS
Please read GotoBLAS_01Readme.txt Please read GotoBLAS_01Readme.txt


Additional support CPU:
x86_64:
Intel Xeon 56xx (Westmere) //Used GotoBLAS2 Nehalem codes.
Intel Sandy Bridge
MIPS64:
ICT Loongson 3A
ICT Loongson 3B (Experimental)
### Additional support CPU:

#### x86/x86-64:
* Intel Xeon 56xx (Westmere). Used GotoBLAS2 Nehalem codes.
* Intel Sandy Bridge. Optimized Level-3 BLAS with AVX on x86-64.
* AMD Bobcat. Used GotoBLAS2 Barcelona codes.
#### MIPS64:
* ICT Loongson 3A. Optimized Level-3 BLAS and the part of Level-1,2.
* ICT Loongson 3B (Experimental)


## Usages ## Usages
Link with libopenblas.a or -lopenblas for shared library. Link with libopenblas.a or -lopenblas for shared library.
@@ -52,6 +54,7 @@ Link with libopenblas.a or -lopenblas for shared library.
### Set the number of threads with environment variables. ### Set the number of threads with environment variables.


Examples: Examples:

export OPENBLAS_NUM_THREADS=4 export OPENBLAS_NUM_THREADS=4


or or
@@ -69,7 +72,9 @@ If you compile this lib with USE_OPENMP=1, you should set OMP_NUM_THREADS enviro
### Set the number of threads with calling functions. ### Set the number of threads with calling functions.


Examples: Examples:

void goto_set_num_threads(int num_threads); void goto_set_num_threads(int num_threads);

void openblas_set_num_threads(int num_threads); void openblas_set_num_threads(int num_threads);


If you compile this lib with USE_OPENMP=1, you should use the above functions, too. If you compile this lib with USE_OPENMP=1, you should use the above functions, too.


Loading…
Cancel
Save