Craig Donner
c2545b0fd6
Fixed a few more unnecessary calls to num_cpu_avail.
I don't have as many benchmarks for these as for gemm, but it should still
make a difference for small matrices.
7 years ago
Craig Donner
66316b9f4c
Improve performance of GEMM for small matrices when SMP is defined.
Always checking num_cpu_avail() regardless of whether threading will actually
be used adds noticeable overhead for small matrices. Most other uses of
num_cpu_avail() do so only if threading will be used, so do the same here.
7 years ago
Martin Kroeker
e8880c1699
Use a single thread for small input size
copies daxpy improvement from #27 , see #1560
7 years ago
Martin Kroeker
1d27fa8507
Merge pull request #1539 from martin-frbg/ztrmv-1332
Disable multithreading in ztrmv
7 years ago
Martin Kroeker
a8ed428bab
Disable multithreading in ztrmv
BLAS-Tester shows that the same problem exists as with DTRMV (issue #1332 )
7 years ago
Martin Kroeker
809fd0d451
Rewrite ROTMG to address cases not covered by the netlib algorithm ( #1480 )
* Rewrite ROTMG based on the new implementation in GONUM based on the algorithm proposed by Tim Hopkins, see issue 1452 for the reference
* Correct ROTMG utest for issue1452 and add another from gonum, also correct transposition of expected and observed values in error messages
7 years ago
Martin Kroeker
72f14a0363
Fix conditionals in the rescaling against GAMSQ
7 years ago
Martin Kroeker
798f1595d5
Fix condition in both second scaling loops
7 years ago
Martin Kroeker
0464aa6784
Remove debug printfs
7 years ago
Martin Kroeker
55840f0bc9
Keep the flag handling separate from the scaling loops
Fixes #1452 and is more in line with how ATLAS does it. The earlier fix from #356 only moved the bug elsewhere, but we will never want the iterative rescaling to change the dflag setting and variable associations with each cycle.
7 years ago
Andrew
47deec2c1a
fix couple of dead assignment warnings
7 years ago
Martin Kroeker
38763ec4f3
Disable multithreading for trmv
as a (hopefully temporary) workaround for #1332
7 years ago
Martin Kroeker
9251a2efde
Merge pull request #1359 from brada4/develop
Eliminate mode variable where not needed in syrk interface
7 years ago
Martin Kroeker
b46e2b57cc
Make return parameter of cblas_Xdotc_sub, cblas_Xdotu_sub a void pointer as well
7 years ago
Martin Kroeker
3ce401f51b
Make last parameter of cblas_Xdotc_sub/cblas_Xdotu_sub a void pointer as well
7 years ago
Andrew
27575d200a
Eliminate mode variable where not needed
7 years ago
Martin Kroeker
2c222f1faa
Modify complex CBLAS functions to take void pointers
Modify complex CBLAS functions to take void pointers instead of float or double arguments (to bring the prototypes in line with netlib and other implementations' cblas.h)
8 years ago
Martin Kroeker
742f54c235
Merge pull request #1303 from martin-frbg/imatcopy-rowscols
Fix cols/rows mixup in omatcopy 2nd step for BlasTrans cases
8 years ago
Martin Kroeker
d674fbb4c7
Fix cols/rows mixup in omatcopy 2nd step for BlasTrans cases
Equivalent of #1244 (issue #899 ) for the non-complex cases. Fixes #1289
8 years ago
Martin Kroeker
46c9357c72
Merge pull request #1288 from quickwritereader/develop
Optimized standard Blas Level-1,2 (excluding nrm2 functions) for z13 (double precision). Issue 884
8 years ago
Abdurrauf
1cfdb2295d
Optimized standard Blas Level-1,2 (excluding nrm2 functions) for z13 (double precision)
8 years ago
Martin Kroeker
00740c0e34
Merge pull request #1290 from martin-frbg/imatcopy
Use in-place transform shortcut only if matrix is square
8 years ago
Martin Kroeker
254db9bd7c
Use in-place transform shortcut only if matrix is square
8 years ago
Isuru Fernando
d245caa49a
Support out-of-source build
8 years ago
Martin Kroeker
376048156b
Use in-place transform shortcut only if matrix is square
8 years ago
Martin Kroeker
d1c5b8f913
Add files via upload
8 years ago
Martin Kroeker
91bde7d315
Exchange rows and cols in final omatcopy with BlasTrans
This is MicMuc's patch from #899
8 years ago
Martin Kroeker
1e06b49854
Update xerbla.c
8 years ago
Martin Kroeker
7f546f54fa
Add cblas_xerbla
8 years ago
Martin Kroeker
a809431e34
Add cblas_xerbla()
8 years ago
Andrew
99880f7906
Address unlikely memleak in zimatcopy interface ( #1129 )
* fix unlikely memleak in zimatcopy interface
* fix only unlikely memleak in zimatcopy interface
* fix only unlikely memleak in zimatcopy interface
8 years ago
Martin Kroeker
211d2eceb5
Update zdot.c
8 years ago
Martin Kroeker
5813ed095b
Update zdot.c
8 years ago
Martin Kroeker
e44b028fe5
Replace gnu _real_, _imag_ extensions in initializers
8 years ago
Ashwin Sekhar T K
071a830e8b
THUNDERX2T99: Add optimized S/D/C/Z SWAP Implementations
8 years ago
Werner Saar
dd6212e684
updated some level1 funcions, that are not thread save
8 years ago
jiahaipeng
84b8170bfb
Adding multi-threading for copy, dot, rot, and asum funcitons
8 years ago
Werner Saar
ae4ac6f984
removed obj-files, that are moved to lapack 3.7.0
8 years ago
Jerome Robert
d346c533b1
Fix z/ctrmv stack allocation on AMD bulldozer and barcelona target
* Hopefully, because this was found by error and trial (dark magic)
* Ref #786
9 years ago
Werner Saar
f04af36ad0
Merge pull request #898 from wernsaar/develop
added experimental support for optimized lapack fortran functions
9 years ago
Werner Saar
41000c8443
added directory for optimized lapack fortan codes and added dlaqr5.f
9 years ago
John Biddiscombe
053044ae4d
Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR
If OpenBLAS is built using add_subdirectory(OpenBlas) as part of another project
then the paths set by CMAKE_XXX_DIR are relative to the parent project
and not the OpenBLAS project.
9 years ago
Jerome Robert
40af513669
Disable multi-threading in swap
* Close #873
9 years ago
Jerome Robert
16ec5323c9
Fix zgemv.c compilation when stack allocation is disabled
9 years ago
Jerome Robert
5fc2203d8a
zgemv: Add a workaround for #746
9 years ago
Jerome Robert
78dcf5c3d5
Improve performances of ztrmv on small matrices
* Use stack allocation
* Disable multi-threading
* Ref #727
9 years ago
Jerome Robert
32f793195f
Use stack allocation in zgemv and zger
For better performance with small matrices
Ref #727
9 years ago
Jerome Robert
1fe3aab047
Use GEMM_MULTITHREAD_THRESHOLD as a number of ops
...not a matrix size. For GEMM_MULTITHREAD_THRESHOLD=4
(the default value) this does not change anything but
for other values it make the GEMM and GEMV thresholds
changing in the same way.
Close #742
9 years ago
Jerome Robert
1a1935507b
[z]ger: increase multithread threshold
The ones given in 3ae30cd
was by far to low because I
mixed m and m*n in my measures. Note that the new ones
are closed to the [z]gemv ones which is comforting
that both are right.
9 years ago
Jerome Robert
66eafb16cf
swap: disable multi-threading for small matrices
Close #731
9 years ago