summaryrefslogtreecommitdiff
path: root/cblas.h
diff options
context:
space:
mode:
authorZhang Xianyi <xianyi@iscas.ac.cn>2012-06-23 11:32:43 +0800
committerZhang Xianyi <xianyi@iscas.ac.cn>2012-06-23 11:32:43 +0800
commit422359d09ac28b27bb652b303318485fb2c02cca (patch)
treea22de83599aa72ffc0b22700b140d86dcdaee8f2 /cblas.h
parent544af1efec5602e7413c1211dd0deb92d97b5b26 (diff)
downloadopenblas-422359d09ac28b27bb652b303318485fb2c02cca.tar.gz
openblas-422359d09ac28b27bb652b303318485fb2c02cca.tar.bz2
openblas-422359d09ac28b27bb652b303318485fb2c02cca.zip
Export openblas_set_num_threads in shared library.
Diffstat (limited to 'cblas.h')
-rw-r--r--cblas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cblas.h b/cblas.h
index f3708a994..ee8bf08b2 100644
--- a/cblas.h
+++ b/cblas.h
@@ -9,6 +9,10 @@ extern "C" {
#include <stddef.h>
#include "common.h"
+/*Set the number of threads on runtime.*/
+void openblas_set_num_threads(int num_threads);
+void goto_set_num_threads(int num_threads);
+
#define CBLAS_INDEX size_t
enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102};