diff options
author | Michel Zou | 2019-06-12 07:16:20 +0200 |
---|---|---|
committer | Michel Zou | 2019-06-12 07:16:20 +0200 |
commit | 60183b8775b4d6fd31ec884be8d980439184797e (patch) | |
tree | 2d477eb769ed8da7f64756555e4f542b0dfc49f2 /set_num_threads.patch | |
parent | a6be59589ad2eb1fd654ef1c1984f6d17d1a1cc6 (diff) | |
download | aur-60183b8775b4d6fd31ec884be8d980439184797e.tar.gz |
openblas_set_num_threads
Diffstat (limited to 'set_num_threads.patch')
-rw-r--r-- | set_num_threads.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/set_num_threads.patch b/set_num_threads.patch new file mode 100644 index 000000000000..861267e592ec --- /dev/null +++ b/set_num_threads.patch @@ -0,0 +1,12 @@ +diff --git a/src/disable_threading.cpp b/src/disable_threading.cpp +index e3be7ff..94c645a 100644 +--- a/src/disable_threading.cpp ++++ b/src/disable_threading.cpp +@@ -36,6 +36,7 @@ + extern "C" { + // This function is private in openblas + int goto_get_num_procs(void); ++void openblas_set_num_threads(int num_threads); + } + #endif + |