Martin Kroeker
1c9f4422b5
Fix declaration of cblas_Xdotc_sub and cblas_Xdotu_sub
last parameter of cblas_(c,z)dotc_sub and cblas_(c,z)dotu_sub should be void* as well
7 years ago
Martin Kroeker
66ac898f64
Change prototypes of all complex functions to use void*
Change prototypes of complex functions to use void pointers like the other implementations of CBLAS
8 years ago
Martin Koehler
39cc6b21d3
Add ATLAS-style ?geadd function
10 years ago
Erik Schnetter
65a847cd36
Introduce openblas_get_num_threads and openblas_get_num_procs
10 years ago
wernsaar
f446d2368a
updated cblas.h and cblas_noconst.h
11 years ago
wernsaar
7f234f8ed1
added GEMM3M tests
11 years ago
Martin Koehler
a057e5434d
add CBLAS interface for s/d/c/zimatcopy
11 years ago
Martin Köhler
7794766d3c
Add cblas_(s/d/c/z)omatcopy in order to have cblas interface for them.
11 years ago
Zhang Xianyi
552119c484
Fixed #407 . Support outputing the CPU corename on runtime.
The user can use char * openblas_get_config() or char * openblas_get_corename().
11 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
wernsaar
faf3ac0aad
Ref #285 : added axpby kernels
11 years ago
Lars Buitinck
212463dce9
get rid of the generated cblas_noconst.h file
12 years ago
grisuthedragon
c19a488af2
create openblas_get_parallel to retrieve information which
parallelization model is used by OpenBLAS.
12 years ago
Zaheer Chothia
875d520ccf
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>.
12 years ago
Zaheer Chothia
4db6660de4
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
12 years ago
Zaheer Chothia
200e4acf15
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]
13 years ago
Zhang Xianyi
bdf8d9411e
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;
}
12 years ago
Zhang Xianyi
422359d09a
Export openblas_set_num_threads in shared library.
13 years ago
Zaheer Chothia
f93318a6c8
Refs #95 cblas: compatibility for compilers without C99 complex number support (e.g. Visual Studio)
13 years ago
Xianyi Zhang
0a45e5495f
Fixed #21 . Added extern C to support C++. Thank Tasio for the patch.
14 years ago
Xianyi Zhang
552f31dbbd
Fixed #13 . Fixed blasint undefined bug in <cblas.h> file.
14 years ago
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
14 years ago