Xianyi Zhang
b95ad4cfaf
Support detecting ICT Loongson-3B CPU.
14 years ago
Xianyi Zhang
3bbe3ddb31
Merge branch 'develop' of github.com:xianyi/OpenBLAS into loongson3b
14 years ago
traz
a32e56500a
Fix the compute error of gemv when incx and incy are negative numbers.
14 years ago
traz
c1e618ea2d
Add complete gemv function on Loongson3a platform.
14 years ago
traits
19f5b5c132
Fixed #66 the bug in zgemv kernel with transpose matrix on 64-bit MingW (Windows).
14 years ago
traits
c852ce3981
Ref #65 . Fixed 64-bit Windows calling convention bug in cdot and zdot.
According to 64-bit Windows calling convention, the return value is in %rax instead of %xmm0 in cdot kernel.
In zdot, the caller allocates a memory space for return value and sets this memory address to the first hidden parameter. Thus, the callee (zdot) should assign the result to this memory space and return the memory address in %rax.
14 years ago
Xianyi Zhang
ba31b19c00
Ref #62 . In OpenMP implementation, check the return value of omp_get_max_threads().
It makes sure the return value as same as blas_cpu_numbers which is an internal global variable to store the number of threads in OpenBLAS.
14 years ago
traits
66a3c6df4e
Ref #63 . Fixed generating DLL bug on ming-w64.
14 years ago
Xianyi Zhang
57658a8c14
ref #62 . Added the user friendly message with USE_OPENMP=1. The users should use OMP_NUM_THREADS.
When OpenBLAS is compiled with USE_OPENMP=1, it ignores OPENBLAS_NUM_THREADS and GOTO_NUM_THREADS flags.Therefore, you should use OMP_NUM_THREADS.
Without setting OMP_NUM_THREADS, a process will use maximal number of threads on a computing node. Thus, if there are 2 processes on the computing node, the thread will contend against other threads on CPU cores. As a result, the application will hang.
14 years ago
traz
9fe3049de6
Adding conditional compilation(#if defined(LOONGSON3A)) to avoid affecting the performance of other platforms.
14 years ago
traz
831858b883
Modify aligned address of sa and sb to improve the performance of multi-threads.
14 years ago
Xianyi
8de2ba67dd
Merge branch 'hotfix-0.1alpha2.4' into develop
14 years ago
Xianyi
fe7a932ab8
Merge branch 'hotfix-0.1alpha2.4'
14 years ago
Xianyi
1d31c79dc9
Prepared the document for 0.1 alpha 2.4 version.
14 years ago
Xianyi
d40e5621e9
Change the installation folder into /include and /lib.
14 years ago
Xianyi
bcc7956216
Refs #57 . Continue to fix absolute path issue about shared library on Mac OSX.
Used $(CURDIR) instead of pwd in generating shared library on Mac OSX.
Add more tips about this issue. Thank Dr Kane O'Donnell.
14 years ago
Xianyi
821cbb2995
Updated the document for 0.1 alpha 2.4.
14 years ago
Xianyi
74fa790354
Merge branch 'develop' into hotfix-0.1alpha2.4
14 years ago
Xianyi
756477bfe3
Output the installation tip after building complete.
14 years ago
Xianyi
864c68ffc5
Bump the version number.
14 years ago
Xianyi
68cae521df
Refs #57 . The bug about absolute path of shared library on Mac OSX.
OSX cann't use relative path in shared library. Thank Mr.Kane for this patch. The detail is in this link (https://github.com/xianyi/OpenBLAS/issues/57 ).
14 years ago
Xianyi
d0152ec8ca
Fixed #61 a building bug about setting TARGET and DYNAMIC_ARCH at the same time.
14 years ago
traz
e08cfaf9ca
Complete all the complex single-precision functions of level3, but the performance needs further improve.
14 years ago
traz
ee4bb8bd25
Add ctrmm part in cgemm_kernel_loongson3a_4x2_ps.S.
14 years ago
traz
7fa3d23dd9
Complete cgemm function, but no optimization.
14 years ago
traz
9679dd077e
Fix some compute error.
14 years ago
traz
048742f38f
Merge branch 'loongson3a' of github.com:xianyi/OpenBLAS into loongson3a
14 years ago
Zhang Xiianyi
7b410b7f0e
Fixed #58 zdot SEGFAULT bug with GCC-4.6. Thank Mr. John for this patch.
In i386 calling convention, the caller put the address of return value of zdot into the first hidden parameter.
Thus, the callee should delete this address before return.
Actually, I have fixed the same bug on x86/zdot_sse2.S (issue #32 ). However, that is not a good implementation which uses 3 instructions. Mr. John told me used "ret $0x4" to skip the first hidden address (4 bytes).
14 years ago
traz
d238a768ab
Use ps instructions in cgemm.
14 years ago
traits
260db9fb9e
Merge branch 'hotfix-0.1alpha2.3' into develop
14 years ago
traits
e27b761d7c
Merge branch 'hotfix-0.1alpha2.3'
14 years ago
Xianyi Zhang
16fc083322
Refs #47 . Fixed the seting parameter bug on Loongson 3A single thread version.
14 years ago
Xianyi Zhang
3c856c0c1a
Check the return value of pthread_create. Update the docs with known issue on Loongson 3A.
14 years ago
Xianyi Zhang
dc9c69db93
Merge branch 'develop' into loongson3a
14 years ago
traits
b1fe26c45a
refs #55 . Changed DTB_ENTRIES to DTB_DEFAULT_ENTRIES in x86 gemv_n kernel codes.
14 years ago
traz
0389b631fa
Merge branch 'loongson3a' of github.com:xianyi/OpenBLAS into loongson3a
14 years ago
traz
64fa709d1f
Fixed #46 . Initialize variables in cblat3.f and zblat3.f.
14 years ago
Xianyi Zhang
4727fe8abf
Refs #47 . On Loongson 3A, set DGEMM_R parameter depending on different number of threads. It would improve double precision BLAS3 on multi-threads.
14 years ago
traits
90481ce742
Updated the doc about 0.1alpha2.3.
14 years ago
traits
9fc6764fa7
refs #55 . Added DTB_ENTRIES into dynamic arch setting parameters. Now, it can read DTB_ENTRIES on runtime.
14 years ago
traz
74d4cdb81a
Fix an illegal instruction for strmm_RTLU.
14 years ago
traz
7906146836
Fix an error for strmm_LLTN.
14 years ago
traz
3274ff47b8
Fix an error for strmm_LLTN.
14 years ago
traz
a059c553a1
Fix a compute error for strmm.
14 years ago
traz
23e182ca7c
Fix stack-pointer bug for strmm.
14 years ago
traz
a15bc95824
Add strmm part.
14 years ago
traz
74a3f63489
Tuning mb, kb, nb size to get the best performance.
14 years ago
traz
09f49fa891
Using PS instructions to improve the performance of sgemm and it is 4.2Gflops now.
14 years ago
Xianyi Zhang
b9d89f8aaa
Fixed the bug about installation. f77blas.h works OK now.
14 years ago
traz
cb0214787b
Modify compile options.
14 years ago