We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cecf89 commit b691cb1Copy full SHA for b691cb1
2 files changed
cblas.h
@@ -40,6 +40,8 @@ extern "C" {
40
/*Set the number of threads on runtime.*/
41
void openblas_set_num_threads(int num_threads);
42
void goto_set_num_threads(int num_threads);
43
+// "Local" means this number is used when OpenBLAS notices that
44
+// it is already in an OpenMP parallel region (`omp_in_parallel()`).
45
int openblas_set_num_threads_local(int num_threads);
46
47
/*Get the number of threads on runtime.*/
driver/others/blas_server_omp.c
@@ -69,7 +69,7 @@
69
70
int blas_server_avail = 0;
71
int blas_omp_number_max = 0;
72
-int blas_omp_threads_local = 1;
+int blas_omp_threads_local = 1; // num threads to use when already inside omp_in_parallel()
73
74
extern int openblas_omp_adaptive_env(void);
75
0 commit comments