flexiblas_set_num_threads - Man Page

set the number of threads the backend should use for computation.


#include <flexiblas/flexiblas_api.h>

void flexiblas_set_num_threads(int num);

and as weak aliases

void openblas_set_num_threads(int num);
void mkl_set_num_threads(int num);
void blas_set_num_threads(int num);
void acmlsetnumthreads(int num);

Link with -lflexiblas.


flexiblas_set_num_threads function changes the number of threads used for computation if the backend supports this. The aliases exist for compatibility reasons with other BLAS implementations like Intel MKL, OpenBLAS, or AMD ACML.


No errors occur.

Reporting Bugs

The current information about the developers and reporting bugs can be found on the FlexiBLAS homepage.

FlexiBLAS Homepage: <http://www.mpi-magdeburg.mpg.de/projects/flexiblas>


Martin Koehler, Jens Saak


License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it.  There is NO WARRANTY, to the extent permitted by law.


2013-2022 M. Koehler The FlexiBLAS Library