Line | Count | Source |
1 | #include "common.h" | |
2 | ||
3 | /* global variable to change threading backend from openblas-managed to caller-managed */ | |
4 | openblas_threads_callback openblas_threads_callback_ = 0; | |
5 | ||
6 | /* non-threadsafe function should be called before any other | |
7 | openblas function to change how threads are managed */ | |
8 | ||
9 | void openblas_set_threads_callback_function(openblas_threads_callback callback) | |
10 | 0 | { |
11 | 0 | openblas_threads_callback_ = callback; |
12 | 0 | } |