diff options
author | Zhang Xianyi <traits.zhang@gmail.com> | 2012-12-10 15:49:01 +0800 |
---|---|---|
committer | Zhang Xianyi <traits.zhang@gmail.com> | 2012-12-10 15:52:51 +0800 |
commit | bdf8d9411e2e3698c7462a46e813c148c0e8aa98 (patch) | |
tree | 7cbc7f508d0c8a55e5f614a2b1d8e916573497eb /cblas.h | |
parent | bb10cb8442f84e76d1140f58b37fa1edc3393972 (diff) | |
download | openblas-bdf8d9411e2e3698c7462a46e813c148c0e8aa98.tar.gz openblas-bdf8d9411e2e3698c7462a46e813c148c0e8aa98.tar.bz2 openblas-bdf8d9411e2e3698c7462a46e813c148c0e8aa98.zip |
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;
}
Diffstat (limited to 'cblas.h')
-rw-r--r-- | cblas.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,9 @@ extern "C" { void openblas_set_num_threads(int num_threads); void goto_set_num_threads(int num_threads); +/*Get the build configure on runtime.*/ +char* openblas_get_config(void); + #define CBLAS_INDEX size_t enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102}; |